Problem Statement
Parse one raw age token and print whether the person is an adult or a minor. Handle invalid ages.
DEMO-OOP-33 โข Object Oriented Programming
Parse one raw age token and print whether the person is an adult or a minor. Handle invalid ages.
Input is given as whitespace-separated raw tokens exactly in the order described by the problem statement.
Print the exact success report or exact error message required by the problem.
Submit runs every public testcase in this browser. Results and code never leave this device.
20
Category: ADULT
17
Category: MINOR
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question