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 14:50
Drag each label to the correct location on the image list the do’s and don’ts of safeguarding your password. a. keep yourself logged in when you leave your computer.b. don’t write your password down and leave it where others can find it.c. share your password with your friends.d.each time you visit a website,retain the cookies on your computer.e. use a long password with mixed characters.1. do's 2. don'ts
Answers: 2
question
Computers and Technology, 23.06.2019 08:30
When you interpret the behavior of others according to your experiences and understanding of the world your evaluation is
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
The computers in the sales department did not have enough data storage capacity to contain all the information the department needed to store, and it was taking a long time for team members to access the data they needed. to fix the problem, the technician installed new, larger hard drives on all the computers.
Answers: 1
question
Computers and Technology, 24.06.2019 03:00
With editing, word automatically displays a paste options button near the pasted or moved text. a. cut-and-paste b. drag-and-drop c. inline d. copy-and-carry
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
question
Mathematics, 13.01.2021 18:40
question
Chemistry, 13.01.2021 18:40
question
Mathematics, 13.01.2021 18:40
Questions on the website: 13722367