Exercise 1 · Chapter: ConditionsRequired+50 XP
Old Enough
Read an age from the user. If they are 12 or older, print You can ride!. Otherwise, print Too young!.
Example 1:
Input:
15
Output:
You can ride!
Example 2:
Input:
8
Output:
Too young!
Need a hint?
3 available · costs 5 XP each
javascript
Output
Run your code to see the output here.