Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Read the problem presented below and provide the solution html file. Your output should be formatted to match the output shown below the problem to
Read the problem presented below and provide the solution html file. Your output should be formatted to match the output shown below the problem to receive full credit. Your program should define variables, take the appropriate input from the user, perform the necessary calculations, and then provide the given output. 1. Create a new Python file named Lab1Movie. You are writing a program to calculate out how much it will cost to get movie tickets and popcorn for a family. The program should ask the user for the following inputs and store these responses in appropriately named variables. Number of adults Number of children Number of adult popcorn combos Number of kid popcorn combos Here are the costs (these should be variables defined within the program, not by the user): Adult Admission Child Admission Adult Popcorn Combo Child Popcorn Combo $9.25 $6.50 $9.25 $7.25 Tax is 11.265% on popcorn only (there is no sales tax on movie tickets). Your program should ask for the inputs, calculate the costs, then display a "receipt" that would look like the following. All values should be formatted appropriately, as shown. Program Execution: Enter number of adult admissions: 4 Enter number of child admissions: 6 Enter number of adult popcorn combos: 3 Enter number of child popcorn combos: 6 Adult Admission 4 Child Admission 6 Adult Popcorn Combos 3 Child Popcorn Combos 6 Subtotal Tax 11.265% Total 000. $ 37.00 $ 39.00 $ 27.75 $ 43.50 $ 147.25 $ 8.03 $ 155.28 so
Step 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