Ticket price
Choose one of three prices from one number.
What to do
A cinema charges 6 for anyone under 16, 12 for anyone 65 or over, and 9 for everyone else.
age is 70. Show the right price for that age -- one line, just the number.
Change age and run it again to check all three branches.
Your code Read-only reference Pseudocode
Output
Press Run to see what your code does.
Stuck on the idea rather than the typing? The lesson behind this set is Conditions & Branching on Learn to Write Code.