Question: Write a c++ program to determine which car rental would be the cheapest depending on how far the car is driven. Package A is 15.99

Write a c++ program to determine which car rental would be the cheapest depending on how far the car is driven. Package A is 15.99 then 45 cents per mile, B is 19.99 then 30 cents per mile package c in 29.99 with unlimited driving. Ask the user what plan they picked and then how far they drove. The output should show which option could haves saved them money and how much. Shown their bill formated with a dollar sign and two decimal places. Then display if they had purchased other packages that would have saved money, how much they would have saved. Honestly I have no clue where to begin with this so anything helps.

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!