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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:00, sophiawatson70
Create a cell reference in a formula by typing in the cell name or         a. right-clicking the cell. b. clicking the cell. c. clicking the column where the cell is located. d. clicking the row where the cell is located.
Answers: 1
image
Computers and Technology, 24.06.2019 02:10, trint5952
Aspeed limit sign that says "night" indicates the legal speed between sunset and sunrise.
Answers: 2
image
Computers and Technology, 24.06.2019 11:20, tiffanibell71
Colby works as a shipping clerk for a major package delivery service. some of his daily tasks include tracking shipments and entering orders. which aspect of the information technology cluster would he most likely be trained in? a. networkingb. databasesc. hardwared. software
Answers: 2
image
Computers and Technology, 24.06.2019 17:00, mrsrobinson1014
What are some examples of what can be changed through options available in the font dialog box? check all that apply. font family italicizing bolding pasting drop shadow cutting character spacing special symbols
Answers: 2
You know the right answer?
Theater seating this program should be designed and written by a team of students. here are some sug...

Questions in other subjects:

Konu
Mathematics, 10.03.2021 19:30
Konu
Mathematics, 10.03.2021 19:30