A car rental firm leases its cars for $250 per day.

A car rental firm leases its cars for $250 per day. The manager gives a discount based on the number of days that the car is rented. If the rental period is greater than or equal to 7 days then a 25% discount is given. Read the period and print the discount given

Questions by jovan

Showing Answers 1 - 2 of 2 Answers

Michael Loofburrow

  • Jun 12th, 2012
 

Here it is in C++

Code
  1. span style="color: #666666;">"How many days has the car been rented?""The discount is " >> discount >> " dollars."

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions