Question: Design a program in c++ that keeps track of ticket sales for an auditorium. A concert will be performed over three days in an auditorium

Design a program in c++ that keeps track of ticket sales for an auditorium. A concert will be performed over three days in an auditorium with three levels of seatingfloor, balcony, and upper balcony. There are 20 seats for each type of seating. Write a program that initializes all seats to the * character. Allow a user to request a seat for a particular seat assignment area on a specific day. Use a three-dimensional array to keep track of the ticket sales. The first dimension indicates the performance day: T for Thursday, F for Friday, and S for Saturday. The second dimension indicates the type of seating: F for floor, B for balcony, and U for upper balcony. The third dimension indicates if a seat is sold, using S for sold. The floor seats sell for $30, the balcony seats sell for $20, and the upper balcony seats sell for $10 each. The program must allow input of ticket requests until an X is entered to indicate that no more sales will be made. After the close of sales, calculate the amount of ticket sales for each performance for each day. Calculate the number of each type of seat sold for each day. Calculate the sales amount for each performance for each day. Calculate the total number of seats sold for all performances. Write your design in the following space. Your design should be a list of C++ comments without any code.

output file example

 Design a program in c++ that keeps track of ticket sales

for an auditorium. A concert will be performed over three days in

The following is a copy of the screen results that might display after running your program, depending on the data entered. The input entered by the user is shown in bold This program keeps track of ticket sales for arn auditorium. Tickets are available for three days-- Thursday, Friday, and Saturday--Eor 20 seats in each of three levels: the Eloor, balcony, and upper balcony Enter day, (T)hursday, E) riday, S)aturday Eor concert, (X) elosed Enter level, (E) Loor, (B)alcony, (U)pper Balcony TF Enter day, (T) hursday, F)riday, (S)aturday Eor concert, (X) elosed Enter level, (E) Loor, (B)alcony, (U)pper Balcony TF Enter day, (T) hursday, F)riday, (S)aturday Eor concert, (X) elosed Enter level, (E) Loor, (B)alcony, (U)pper Balcony FU Enter day, (T)hursday, E) riday, S)aturday Eor concert, (X) elosed Enter level, (E) Loor, (B)alcony, (U)pper Balcony FU Enter day, (T) hursday, F)riday, (S)aturday Eor concert, (X) elosed Enter level, (E) Loor, (B)alcony, (U)pper Balcony FU Enter day, (T) hursday, F)riday, (S)aturday Eor concert, (X) elosed Enter level, (E) Loor, (B)alcony, (U)pper Balcony SB Enter day, (T)hursday, E) riday, S)aturday Eor concert, (X) elosed Enter level, (E) Loor, (B)alcony, (U)pper Balcony SB Enter day, (T) hursday, F)riday, (S)aturday Eor concert, (X) elosed Enter level, (E) Loor, (B)alcony, (U)pper Balcony SB

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!