A parking garage charges a S.R. 2.00 minimum fee to park for up to three hours.
After that, garage charges an additional S.R. 0.50 per hour for each extra hour or less.
The maximum charge for any given 24-hour period is S.R. 10.
No car parks for longer than 24 hours at a time.
Write a program that reads the hours parked for 3 customers yesterday, then calculates and prints the parking charges for each in a neat tabular format and should calculate and print the total of yesterday’s receipts.