Question: Assignment 4 Simple Arithmetic with formatting Stadium Seating There are three seating categories at a stadium. For a softball game, Class A seats cost $15,
Assignment 4 Simple Arithmetic with formatting Stadium Seating There are three seating categories at a stadium. For a 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. Every spectator spends $8,25 at the Concession stand. Your program is to determine and print the following: The number of spectators The amount of income generated from ticket sales. The amount of income generated at the Concession stand. The total income generated at the softball game
Format all dollar amounts in fixed-point notation, with two decimal places of precision, and be sure the decimal point is always displayed. Reminder: Your program must begin with two comments /Program Name: place program name here //Written by insert your name here
And the output must contain your name.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
