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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started