Control Flow and Functions·19 of 62
Read an integer age from standard input and print exactly one of child, teen, or adult: - age >= 18 → adult - age >= 13 → teen - otherwise → child
age
child
teen
adult
age >= 18
age >= 13
Sign in to try this exercise.