Print Adult Or Not
Geoffrey Challen // 2021.8.0
In the United States, you are legally an adult once you turn 18 years old.
Given an already-declared int
variable named age
containing a person's age, print "Adult" if they are legally an
adult and "Not Adult" if they are not.
However, if an already-declared boolean
variable whisper
is true
, then don't print anything at all.
Don't modify age
or whisper
.