- Q09 18 Poletj The Manager Of A Football Stadium Want You To Write A Program That Calculates The Total Ticket Sales Afte 1 (22.85 KiB) Viewed 20 times
Q09 (18 poletj The manager of a football stadium want you to write a program that calculates the total ticket sales afte
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Q09 (18 poletj The manager of a football stadium want you to write a program that calculates the total ticket sales afte
Q09 (18 poletj The manager of a football stadium want you to write a program that calculates the total ticket sales after each game. There are four types of tickets-box, sideline, premiums, and general admission. After each game, data is stored in a file in the following fome ticketPrice numberOfTicketsold Sample data are shown below: 250 3750 100 20000 50 35750 25 18350 The fint line indicates that the ticket price is $250 and that 5750 tickets were sold at that price. Output the number of tickets sold and the total ule amount. Format your output with two decimal places Put the above data in a file, read the data into your program, and output ber of tickets sold and total sale amount in a file. Format output to two decimal places Here is a sample file output Number of tickets sold-250 Sale amount 56493750.00