Question: Must be Python and can't use functions that stop program inmiddle such as exit or quit. Please ensure the sample outputs are correct. I keep

Must be Python and can't use functions that stop program inmiddle such as exit or quit. Please ensure the sample outputs are correct. I keep getting the wrong value for the first one.
Movie Ticket Software
Key programming concepts: variables, input, output, if statements
Commands you can't use: exit, quit, and any such functions that stop the execution of the program in the middle
Program Inputs
Available Movies Today:
Display to the user the table of movie choices and showtimes
Movie Choice:
User will always enter a single letter but it may not match an actual movie choice
Showtime:
User will always enter a positive whole number but it may not match a valid option
Adult tickets:
User will always enter a positive whole number but only 30 total (kids + adult) tickets can be purchased at a time
Kid tickets:
User will always enter a positive whole number but only 30 total (kids+adult) tickets can be purchased at a time
Program Outputs
Total cost: $xxx
replace xxx with the total ticket cost showing at most 2 decimal places
Invalid option; please restart app...
Display this message if the user chooses an improper option
If the movie and/or showtime is invalid, then the program must stop and display 'Invalid input; please restart the app...'
Assignment Details
Your task is to create a program for selling movie tickets! The program will only support a few select movies and times but will allow the user to select their movie, desired showtime, and number of tickets to purchase. Each movie and its respective showtime is given in the table below. Note that the prices for each movie depend on the time of the movie and the type of ticket being purchased!
COP3502C Python
HW1
Table 1: Per ticket cost
\table[[,Before 2 pm,After 2 pm],[Adult,$11.17,$12.45
 Must be Python and can't use functions that stop program inmiddle

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!