โ Back to If Statements
Question 223
Adult or Minor
Adult or Minor
Read an age (an integer). If the age is 18 or more, print 'Adult'. Otherwise print 'Minor'.
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.