Question: Write a Java Program to help the user buy tickets to a movie theater . Write a menu driven program with multiple classes to simulate

Write a Java Program to help the user buy tickets to a movie theaterWrite a Java Program to help the user buy tickets to a

. Write a menu driven program with multiple classes to simulate ticketing and seating in a movie theater. There are three screens in the movie theater with four show times. The rows has 20 seats. When a customer purchases a seat he issued a ticket showing his name, a specific seat such as B14 or type of ticket, movie name and show time. The current price of a Infant - under 2 years old. Sits on the parent's lap and does not occupy a seat. Is not charged. Child - aged 2-14 - charged half-price Adult - aged 15-60 charged full-price. Senior - aged over 60 - charged % price. At the start of the simulation, read the names of the three movies and the four show times for each from the user. Display a menu of options to the user and implement them: 1. Buy an infant +adult ticket 2. Buy a child ticket 3. Buy an adult ticket 4. Buy a senior ticket 5. Show available seats for a specified movie and showing 6. Display the aggregate sales for each movie with the number of seats and total revenue 7. Quit program When a ticket is bought, the ticket should be displayed to the screen. If a ticket for a given movie and showing is not available, the user should be told and no ticket issued

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!