this is a problem that I have how would I go about solving it? Stadium Seating There are three seating categories for a BC softball game. Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. Write a program that asks how many tickets for each class of seats were sold. Then display the total number of tickets sold, the amount of income generated from each class and the total ticket sales. Note: Use constants for the seat prices. Sample output: WELCOME TO THE BROWARD COLLEGE STADIUM!! Please enter the number of Class A seats sold: 100 Please enter the number of Class B seats sold: 200 Please enter the number of Class C seats sold: 150 ************************************************** Total number of tickets sold: 450 Income Generated: Class A:$1500.00 Class B: $2400.00 Class C: $1350.00 Total: $5250.00
this is a problem that I have how would I go about solving it?
Stadium Seating
There are three seating categories for a BC softball game. Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. Write a program that asks how many tickets for each class of seats were sold. Then display the total number of tickets sold, the amount of income generated from each class and the total ticket sales.
Note: Use constants for the seat prices.
Sample output:
WELCOME TO THE BROWARD COLLEGE STADIUM!!
Please enter the number of Class A seats sold: 100
Please enter the number of Class B seats sold: 200
Please enter the number of Class C seats sold: 150
**************************************************
Total number of tickets sold: 450
Income Generated:
Class A:$1500.00
Class B: $2400.00
Class C: $1350.00
Total: $5250.00
Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 4 images