โ Back to If Statements
Question 383
Age Group Classifier
Age Group Classifier
Read an integerageand print the person's age group: - under 13 ->Child- 13 to 19 ->Teenager- 20 to 64 ->Adult- 65 or older ->SeniorFor example, given the input30, the program prints: Adult
Expected Output:
Adult
Topics:
If Statements
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cout, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.