Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need solution in c++ The student number is ABC098765 A carpark management charges RM2.00 fee for a car to park, for the first 3 hours.
Need solution in c++
The student number is ABC098765
A carpark management charges RM2.00 fee for a car to park, for the first 3 hours. Subsequently, additional RM1.00 will be charged per hour in excess of 3 hours. The maximum charge for any given 24 hours period is RM20.00. Write a program with comments, which calculates and displays the parking charges for each of 3 cars that parked at the carpark space. The hours parked for each car shall be entered, and utilize the last 2 digits in your student number as period hour for one of the cars. Show the output after the program is successfully executed, following Figure 3. The function "test3" shall be utilized to determine the calculated charges. Hours Car 1 2 3 TOTAL XX xxx yy Charge a.00 6.00 c.00 d.00 x, y, a, b, c, d are changing variablesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started