Question: In this lab you must create a program for a movie theater that calculates ticket prices based on age and movie selection. The manager has
In this lab you must create a program for a movie theater that calculates ticket prices based on age and movie selection. The manager has created a number of criteria that affect the price:
A matinee showing costs $ and an evening showing costs $
Children years or under get a $ discount.
If the user is a loyalty member then get a discount on the total price of all tickets purchased.
If the user purchases or more tickets, they receive a discount on the total price of all tickets purchased. This does not apply if the user has already received the loyalty member discount.
Your program should prompt the user to determine the showing type, how many tickets are to be purchased, and how many of those tickets are for children years or under, whether the purchaser is a loyaltee member.
Example Run:
Is the movie a matinee or evening showing? matineeevening: evening How many tickets would you like to purchase?: How many of these tickets are for children?: Are you a member of the loyalty program? yesno: yes Your total price is: $
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
