(Solved) : Parking Garage Charges 300 Minimum Fee Park Two Hours Garage Charges Additional 075 Hour P Q33162252 . . .

A parking garage charges a $3.00 minimum fee to park for up to two hours. The garage charges an additional $0.75 for each hour or part thereof in excess of two hours. The maximum charge for any given 24-hour period is $12.00.Assume that no car parks for longer than 24 hours ata time. Also round hour upward to its nearest integer. For example, if someone parks for 4 hours and 15 minutes, it will be rounded to 5 hours. Write a JavaScript program that calculates and displays the parking charges for each customer. Also round the result up to two decimal places. Hint: You should use a form to input from the user the hours parked for each customer. The program should use the function calculateCharges to determine the charge for each customer. Show transcribed image text
Expert Answer
Answer to Parking Garage Charges 300 Minimum Fee Park Two Hours Garage Charges Additional 075 Hour P Q33162252 . . .
OR