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 12:30
What characteristic of long period comets suggest they come directly from the oort cloud?
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
Drag the tiles to the correct boxes to complete the pairs. match the errors with their definitions. #name #value #ref when a formula produces output that is too lengthy to fit in the spreadsheet cell arrowright when you enter an invalid cell reference in a formula arrowright when you type text in cells that accept numeric data arrowright when you type in a cell reference that doesn’t exist arrowright reset next
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Hey so i was just trying out some game hacks so i took a paste from online and built it in my visual studio and then suddenly my computer was working or clicking on stuff on its own am i hacked?
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
The initial tableau of a linear programming problem is given. use the simplex method to solve it. x 1 x 2 x 3 s 1 s 2 z 1 2 4 1 0 0 8 3 4 1 0 1 0 10 minus3 minus12 1 0 0 1 0 the maximum is nothing when x 1equals nothing, x 2equals nothing, x 3equals nothing, s 1equals3, and s 2equals0. (be sure to simplify to lowest terms if necessary.)
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
question
Mathematics, 26.03.2020 20:35
question
Chemistry, 26.03.2020 20:36
question
Mathematics, 26.03.2020 20:36
question
English, 26.03.2020 20:36
question
History, 26.03.2020 20:36