Question: Write a well-documented program in C language that will be used by a rental car company to determine how much to charge its customers. You

Write a well-documented program in C language that will be used by a rental car company to determine how much to charge its customers. You should prompt the user to enter the number of days the car was rented and how many miles it was driven. A passenger car is rented for $15.00 per day plus $.40 per mile. However, the rate per mile goes down to $.35 if the car was driven 200 miles or more. Sales tax is 6% and the program should output a subtotal, tax amount, and total. - use an if...else statement with multiple conditions to evaluate input - perform calculations based on conditions

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!