Problem

A concert hall has three seating categories: Orchestra, Main floor, and Balcony. Orchest...

A concert hall has three seating categories: Orchestra, Main floor, and Balcony. Orchestra seats are $25. Main floor seats are $30, and Balcony seats are $15. The manager wants a program that allows him to enter the number of tickets sold in each seating category. The program should calculate and display the amount of revenue generated by each seating category, as well as the total revenue.

a. Create an IPO chart for the problem, and then desk-check the algorithm twice. For the first desk-check, use 50, 100, and 75 as the number of Orchestra, Main floor, and Balcony seats, respectively. For the second desk-check, use 30, 25, and 99.

b. List the input, processing, and output items, as well as the algorithm, in a chart similar to the one shown in Figure 4-12 in the chapter. Then code the algorithm into a program.

c. Desk-check the program using the same data used to desk-check the algorithm.

d. If necessary, create a new project named Introductory12 Project and save it in the Cpp7\Chap04 folder. Enter your C++ instructions into a source file named Introductory12.cpp. Also enter appropriate comments and any additional instructions required by the compiler. e. Save and run the program. Test the program using the same data used to desk-check the program.

REFERENCE : FIGURE 4-12

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 4