Question: Please answer correctly i send it 2 time and its wrong i need to solve this in the computer and i want to see the
Program 3: Theater Seating Program DUE: Thursday, November 29 (by 11:50 pm) You are supposed to work in groups of two students, and it is up to you to find group partner Write a program that can be used by a smal theater to sell tickets for its performances. The auditorium has 15 rows of seats, with 30 seats in each row. The program should display a screen that shows which seats are avalable and which are taken. For example, the following screen shows a chart depicting each seat in the theater. Seats that are taken are represented by an . symbol, and seats ihat are avalable are represented by a # symbol 123456789812345678981234567898 LegendSeld Rvailable . The program should first read the seat prices for each row from a file called seats.txt. Prices in this ile wi be stored as values of type double, with one price per ine and one price for each row. After the prices have been read, the program shouid display a seating chart similar to the one shown above. The program should display a menu system with options that allow the user to (1) Purchase tickets (2) Display the total dollar value of all tickets sold (3) Display the total number of tickets sold (4) Display the number of seats available in each row (5) Display the number of seats available in the entire auditorium (6) Display the current seating chart (7) Exit the system To purchase tickets, the user must enter the row and seat number of the desired seat. Do not accept row or seat numbers that do not eist In addition, when the user requests a particular seat, make sure that seat is available before t is sold Every time a ticket or group of tickets is purchased, the program should display the total ticket prices and update the seating chart Good Luck
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
