Question: C# Console application: A rent-a-car service charges a $25 minimum fee to rent a car for 8 hours. For renting for more than 8 hours

C# Console application: A rent-a-car service charges a $25 minimum fee to rent a car for 8 hours. For renting for more than 8 hours a day, the agency charges an extra $5 per hour with a maximum limit of $50 per day and an additional $0.50 per hour as a tax. The maximum charge for one day is $50 except for the service tax. Assume that no car can be rented for more than 3 days (72 hours). Write an app that takes the number of hours for which the car is rented for 3 customers and calculates and the displays the car rental cost for each customer. You must use a method called 'calculateCharges'.

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!