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 $12, and an evening showing costs $15.
Children 12 years or under get a $2 discount.
If the user is a loyalty member then get a 10% discount on the total price of all tickets purchased.
If the user purchases 4 or more tickets, they receive a 10% 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 12 years or under, whether the purchaser is a loyaltee member.
Example Run:
Is the movie a matinee or evening showing? (matinee/evening): evening How many tickets would you like to purchase?: 3 How many of these tickets are for children?: 2 Are you a member of the loyalty program? (yes/no): yes Your total price is: $36.90

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 Programming Questions!