7. Write a C++ program that calculates and prints the bill for a car rental company. The company charges a daily fee for each day a car is rented depending on the type of the car. Moreover, an...


in c++


7. Write a C++ program that calculates and prints the bill for a car rental company. The company charges a<br>daily fee for each day a car is rented depending on the type of the car. Moreover, an additional fee is<br>charged if the car travels more than 400 KM. This fee also varies depending on the type of the car.<br>Туре of<br>Fee for additional KM<br>Daily<br>fee<br>car<br>Mercedes<br>150<br>15<br>Toyota<br>Cadillac<br>Jaguar<br>60<br>120<br>10<br>130<br>14<br>Your program should ask the user to enter<br>The type of the car (M or m for Mercedes, T or t for Toyota...)<br>How many days was the car rented?<br>How many KM did the car travel?<br>

Extracted text: 7. Write a C++ program that calculates and prints the bill for a car rental company. The company charges a daily fee for each day a car is rented depending on the type of the car. Moreover, an additional fee is charged if the car travels more than 400 KM. This fee also varies depending on the type of the car. Туре of Fee for additional KM Daily fee car Mercedes 150 15 Toyota Cadillac Jaguar 60 120 10 130 14 Your program should ask the user to enter The type of the car (M or m for Mercedes, T or t for Toyota...) How many days was the car rented? How many KM did the car travel?

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here