Practice sequencing (ordering steps logically)
Use different data types (strings, integers, floats, booleans)
Perform arithmetic operations to calculate prices, discounts, and totals
You’re going to create a Theme Park Ticket Booth program.
It will:
Greet the user
Ask for basic information (name, age, number of tickets, etc.)
Calculate ticket prices (using arithmetic)
Display a receipt with totals and a friendly message
Here’s what your program could do step-by-step (sequencing):
Ask for:
Visitor’s name (string)
Age (int)
Number of tickets (int)
Whether they want a meal package (boolean via yes/no)
Set ticket prices based on age:
Under 5: Free
5–12: $10
13–64: $20
65 and older: $12
Offer a 10% discount if the total is over $50.
Step 4: Display the Results (Sequencing Output)
🌟 Extension Ideas (Optional)
If you want to make it more advanced:
Add rides with different prices and let the user choose one
Include group discounts or family passes
Track multiple visitors using lists or dictionaries
Display prices formatted with two decimals
Save the receipt to a text file