Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int age = 105;
- if (age < 20)
- {
- if (age >=0 && age < 6)
- {
- return "small baby";
- }
- else if (age >=6 && age < 18)
- {
- return "go to school";
- }
- else if (age >=18)
- {
- return "go to SVO";
- }
- }
- else if (age > 60 && age < 100)
- {
- return "retirement";
- }
- else
- return "too old";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement