C++ programming

Instructions

The short-term, 0-24 hours, parking fee, F, at an international airport is given by the following formula:

Parking Fee Equation

where int(h + 1) is the integer value of h + 1. For example, int(3.2) = 3int(4.8) = 4.

Write a program that prompts the user to enter the number of hours a car is parked at the airport and outputs the parking fee.

Grading

As you complete the steps above, you can use the Test button to check if the lab tests are passing. Once you are satisfied with the results, use the Grade button to save your score.

Order from us and get better grades. We are the service you have been looking for.