Ticket Booth
Use JavaScript if and else branches to choose the correct ticket label for a child or standard admission based on the provided age.
JavaScript
Challenge overview
- Format
- Logic Puzzle
- Category
- JavaScript
- Difficulty
- Beginner
javascriptconditionalsif-elsecomparison
Keep practicing
More coding challenges
Python · Beginner
Ticket Booth in Python
Use Python if and else branches to choose the correct admission label from a visitor's age and print the resulting ticket type.
View challengeJavaScript · Beginner
Ticket Price
Use a JavaScript function with parameters and conditional returns to calculate the correct ticket price from age and membership status.
View challengePython · Beginner
Ticket Price in Python
Use a Python function with parameters and conditional returns to calculate the correct ticket price from age and membership status.
View challenge

