Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class apples{
- public static void main(String args[]){
- int age = 55;
- if (age >= 60)
- System.out.println("You are a senior citizen");
- else if (age >= 50)
- System.out.println("You are in your 50s");
- else if (age >= 40)
- System.out.println("You are in your 40s");
- else
- System.out.println("You are a young buck");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement