FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

import java.util.*; public class ConditionalStatement { public static void main(String args[]){ Scanner sc = new Scanner(System.in); int age = sc.nextInt(); // using the if else statement if(age >= 18){ System.out.println("Adult"); } else{ System.out.println("Not Adult"); } } }

Back | FazBrowse Home | New Git URL