Question: When a car park for first three hours, a carpark management will collect RM 2.00 fee from a car. Maximum charge for any given 24

When a car park for first three hours, a carpark management will collect RM 2.00 fee from a car. Maximum charge for any given 24 hours period is RM20.00. Write a program with comment, which calculates and displayels the parking charges for each of 3 cars that parked at the carpark. The hours parked for each car shall be entered, and utilize 10 hours as period hour for one of the cars. Show the output after the program is sucessfully executed. The function shall be utilized to determine the calculated charges
C++ only, Tq.
Hours 1 2 3 TOTAL Charge a.00 b.00 c.00 d.00 XXX x, y, a, b, c, d are changing variables
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
