A parking garage charges a $2.00 minimum fee for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Write a program that calculates and prints the parking charges for each of the customers who parked their cars in this garage yesterday. You should enter the customer’s name and the number of hours parked. Your program should print the results in a neat tabular format and should calculate and print the total of yesterday’s receipts. The program should use the function calculateCharges to determine the charge for each customer.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
sample output, should appear in the following format:
Joe’s Garage
October 22, 2003
Customer Name Hours Charge
Miller, Bob 1.5 2.00
Clancy, Tom 4.0 2.50
Grisham, John 24.0 10.00
Trump, Donald 10.5 6.00
Gaddis, Tony 15.3 8.50
Patterson, James 3.2 2.50
TOTAL 58.8 31.50
## Platform
windows