0 of 10 problems solved • 0%
Use in a course

Exercise prompt

Check a Number Range

A value is inside a range only when it meets both the lower and upper limits.

Your task

Use one if condition with && to display Teen when age is at least 13 and at most 19. Otherwise display Not a teen.

For the supplied age, the console should display Teen.