The manager of a football stadium wants you to write a program that calculates the total ticket sales after each game. There are four types of tickets-box, sideline, premium and general admission. The data is stored in a file, tickets.txt, in the following form:
ticketPrice number OfTicketsSold
100.00 78 55.
56 300
34.90 105
15.99 198
The first line indicates that the ticket price is $100.00 and that 78 tickets were sold at that price. Output the total number of tickets sold and the total sale amount. Format your output with two decimal places.