Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assignment 2 B. Assignment Due March 9 at 11:59 PM Starts Feb 1, 2021 8:13 PM The second assignment involves writing a Python program to
Assignment 2 B. Assignment Due March 9 at 11:59 PM Starts Feb 1, 2021 8:13 PM The second assignment involves writing a Python program to compute the price of a theater ticket. Your program should prompt the user for the patron's age and whether the movie is 3D. Children and seniors should receive a discounted price. There should be a surcharge for movies that are 3D. You should decide on the age cutoffs for children and seniors and the prices for the three different ge groups. You should also decide on the amount of the surcharge for 3D movies. Your program hould output the ticket price for the movie ticket based on the age entered and whether the movie in 3D. ur program should include the pseudocode used for your design in the comments. Document the ues you chose for the age cutoffs for children and seniors, the prices for the three different age ups and the surcharge for 3D movies in your comments as well
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