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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!