Theater Seating Program..solved

Theater Seating Program..solved

Theater Seating Program

As a culminating activity for Week Five, the Learning Team will be writing the following program thatcan be used by a small theater to sell tickets for performances. The theater's auditorium has 10 rowsof seats with 9 seats in each row. The program should display a screen that shows which seats areavailable and which are taken. For example, the following screen shows a chart depicting each seatin the theater. Seats that are taken are represented by an * symbol, and seats that are available arerepresented by a # symbol:123456789R 1***##*##*R 2#********R 3*##******R 4***#**###R 5**#*****#R 6***####**R 7###***##*R 8****###**R 9**###****R 10###******Every time a ticket or group of tickets is purchased, the program should display the total ticket pricesand update the seating chart.The program should keep a total of all ticket sales.The program should also give the user an option to see a list of how many seats have been sold,how many seats are available in each row, and how many seats are available in the entireauditorium.Note.Include the proper header and make sure you have properly commented your program. Also,make sure you have used proper coding conventions in your program
Powered by