Question: Question 1: Write a program that calculates the parking fee F at an international airport based on the following conditions If 0 hour3 then the
Question 1: Write a program that calculates the parking fee F at an international airport based on the following conditions If 0 hour3 then the parking fee = $5. If 3 hour7 then the parking fee = $5+3*hour. If 7 hour24 then the parking fee = $5+3*hour+100. Your program should prompt the user to enter the number of hours a car is parked at the airport and outputs the parking fee.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
