Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use Python Write a program that computes the price of a ticket for the Monterey Bay Aquarium. ADMISSION Adult $49.95 Child $29.95 (Ages 3-12, under
Use Python
Write a program that computes the price of a ticket for the Monterey Bay Aquarium. ADMISSION Adult $49.95 Child $29.95 (Ages 3-12, under 3 free) Senior $39.95 (Ages 65+) Student $39.95 (Ages 13-17 or college ID) Your program first asks the age of the person. Then, your program should ask for a College ID only if the person falls into the adult category and store the result in a Boolean variable. At this point you can determine the ticket price and print it out using the word "FREE" when the ticket is free. Here are two transcripts of how the program should work: Enter age:1 Price: FREE Enter age:34 College ID? (y)y Price: $39.95Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started