subject

Theater seating this program should be designed and written by a team of students. here are some suggestions: one student should design function main , which will call the other functions in the program. the remainder of the functions will be designed by other members of the team. the requirements of the program should be analyzed so each student is given about the same work load. the parameters and return types of each function should be decided in advance. the program can be implemented as a multi-file program, or all the functions can be cut and pasted into the main file. here is the assignment: 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 30 seats in each row. the program should display a screen that shows which seats are available 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 that are available are represented by a # symbol: seats 123456789012345678901234567890row 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 row 15 here is a list of tasks this program must perform:

⢠when the program begins, it should ask the user to enter the seat prices for each row. the prices can be stored in a separate array. (alternatively, the prices may be read from a file.)

⢠once the prices are entered, the program should display a seating chart similar to the one shown above. the user may enter the row and seat numbers for tickets being sold. every time a ticket or group of tickets is purchased, the program should display the total ticket prices and update the seating chart.

⢠the program should keep a total of all ticket sales. the user should be given an option of viewing this amount.

⢠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 entire auditorium. input validation: when tickets are being sold, do not accept row or seat numbers that do not exist.
when someone requests a particular seat, the program should make sure that seat is available before it is sold.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
Eva has many contacts on the professional networking site she uses which contacts are considered second degree
Answers: 3
question
Computers and Technology, 23.06.2019 04:31
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. which step can possibly increase the severity of an incident? a. separating sensitive data from non-sensitive data b. immediately spreading the news about the incident response plan c. installing new hard disks d. increasing access controls
Answers: 2
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
You know the right answer?
Theater seating this program should be designed and written by a team of students. here are some sug...
Questions
Questions on the website: 13722362