Question: Hello, Here is an assignment for my CIS 22a c++ class. A concert hall has three seating categories: Orchestra, Main Floor, and Balcony. Orchestra seats

Hello,

Here is an assignment for my CIS 22a c++ class.

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. Also the program calculates and displays the percentage of the total revenue contributed by each seating category.

Sample run: Orchestra tickets: 10 Main floor tickets: 5 Balcony tickets: 15 Orchestra revenue: $250 Main floor revenue: $150 Balcony revenue: $225 Total revenue: $625 Orchestra percent: 40% Main floor percent: 24% Balcony percent: 36% 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!