Question: Kotlin Instructions: Movie Theater Write a menu driven program with multiple classes to simulate ticketing and seating in a movie theater. There are three screens
Kotlin
Instructions: Movie Theater 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 in the theater are labeled A-M and each row 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 movie is $15.00 (no matinees or discounts) Infant under 2 years old . Sits on the parents 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: Buy an infant +adult ticket Buy a child ticket Buy an adult ticket Buy a senior ticket Show available seats for a specified movie and showing Display the aggregate sales for each movie with the number of seats and total revenue 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. Grading Criteria Points Category ----------------- 2.00 Read Movies Titles & Timings 2.00 Display Menu 2.00 Display Seat Map 2.00 Book Tickets 2.00 Calculate Sales 3.00 Form 3.00 Documentation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
