Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:00, yentel110306
When building customer relationships through email what should you not do? question 2 options: utilize proper grammar, spelling, and punctuation type in all capital letters use hyperlinks rather than attachments respond to all emails within 24 hours
Answers: 1
image
Computers and Technology, 22.06.2019 15:30, coollid876
To increase sales, robert sends out a newsletter to his customers each month, letting them know about new products and ways in which to use them. in order to protect his customers' privacy, he uses this field when addressing his e-mail. attach bcc forward to
Answers: 2
image
Computers and Technology, 22.06.2019 19:00, detrickboucicaut
The fourth generation of computers emerged between 1970s and 1980s. which technological advancement brought about this generation of computers? which computer architecture was used most in this generation?
Answers: 3
image
Computers and Technology, 23.06.2019 02:00, rah45
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
Do you know the correct answer?
Theater seating this program should be designed and written by a team of students. here are some sug...

Questions in other subjects:

Konu
English, 21.11.2019 13:31
Konu
Mathematics, 21.11.2019 13:31
Konu
Mathematics, 21.11.2019 13:31