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>Daily<br>fee<br>Туре of<br>Fee for additional KM<br>car<br>Mercedes<br>150<br>15<br>Тоyota<br>60<br>7<br>Cadillac<br>120<br>10<br>Jaguar<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. Daily fee Туре of Fee for additional KM car Mercedes 150 15 Тоyota 60 7 Cadillac 120 10 Jaguar 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