Task 6 of 8 · 0 solved · 8 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

1.3 Types — is adult

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Store an age in a variable, then print whether the person is an adult — that is, whether the age is 18 or older.

For an age of 20 the program prints true; for 17 it would print false. An age of exactly 18 counts as adult.

Your solution