Question: PLEASE FOLLOW THE INSTRUCTION(I NEED C++ PROGRAM)Write a program that can be used by a small theater to sell tickets for performances. The theater's auditorium

PLEASE FOLLOW THE INSTRUCTION(I NEED C++ PROGRAM)Write a program that can be used by a small theater to sell tickets for performances. The theater's auditorium has 15 rows of seats with 20 seats in each row.

Step 1: The program should have a FUNCTION that displays a screen that shows which seats are available and which are taken. Seats that are taken should be represented by a # symbol and seats that are available should be represented by a * symbol. The first thing your program should do is initialize all of the seats to available (*) and display the seating chart. ( The seating chart should be a two dimensional array.)

THE OUTPUT SHOULD BE LIKE THIS

Seats: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Row 0 * * * * * * * * * * * * * * * * * * * * Row 1 * * * * * * * * * * * * * * * * * * * * Row 2 * * * * * * * * * * * * * * * * * * * * Row 3 * * * * * * * * * * * * * * * * * * * * Row 4 * * * * * * * * * * * * * * * * * * * * Row 5 * * * * * * * * * * * * * * * * * * * * Row 6 * * * * * * * * * * * * * * * * * * * * Row 7 * * * * * * * * * * * * * * * * * * * * Row 8 * * * * * * * * * * * * * * * * * * * * Row 9 * * * * * * * * * * * * * * * * * * * * Row 10 * * * * * * * * * * * * * * * * * * * * Row 11 * * * * * * * * * * * * * * * * * * * * Row 12 * * * * * * * * * * * * * * * * * * * * Row 13 * * * * * * * * * * * * * * * * * * * * Row 14 * * * * * * * * * * * * * * * * * * * * Please enter a ticket price for each row. Row #0 : Row #1 : Row #2 : Row #3 : Row #4 : Row #5 : Row #6 : Row #7 : Row #8 : Row #9 : Row #10 : Row #11 : Row #12 : Row #13 : Row #14 : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Row # must be between 0 and 14. Please enter again: Row # must be between 0 and 14. Please enter again: Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Invalid selection. Please try again. MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : Please enter a row number and seat number for the ticket: Row # : Seat # : Sorry. The ticket is not available for this seat. MOVIE THEATER MENU ------------------ 1) Sell a ticket Q) Quit program Please make a selection : UPDATED SEATING CHART AND SALES INFO ------------------------------------ Seats: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Row 0 * * * * * * * * # # # * * * * * * * # # Row 1 # * * * * * * * * * * * * * * * * * * * Row 2 * * * * * # # * * * * * * * * * * * * * Row 3 * * * * * * * * * * * * * * * * * * * * Row 4 * * * * * * * * * * * * * * * * * * * * Row 5 # # # * * * * * * * * * * * * * * * * * Row 6 * * * * * * * * * * * * * * * * * * * * Row 7 * * * * * * * # # * * * * * * * * * * * Row 8 * * * * * * * * * * * * * * * * * * * * Row 9 * # * * * * * * * # # * * * * * * * * * Row 10 * * * * * * * * * * * * * * * * * * * * Row 11 * * * * * * * * * * * # * * * * * * * * Row 12 * * * * * * * * * * * * * # # # * * * * Row 13 * * * * * * * * * * * * * * * * * * * * Row 14 * * * * # # # # * * * * * * * * * * * * TOTAL TICKETS SOLD: 24 TOTAL REVENUE: $613.00 

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!