C++ Programming Code for Rent a Car System
You are required to write a program for RENT A CAR SYSTEM. The basic idea is that user will provide customer information, Car Model, and number of days. Upon this information your program will calculate the Amount for the Car.
Rent Amount will be calculated on the Basis of Type of Model he / she is going to take on Rent and of Days on Rent. There are Types of Models available “2009”, “2010” and “2011”. For Model 2009 Minimum Rent per day is Rs. 5000/- for Model “2010” Amount is Rs. 8000/- and for “2011” Amount is Rs. 10,000/- Per Day.
Detailed Description:
1. The program should display
Please provide customer Name:
Please provide Car Model.
Enter ‘A’ for Model 2009.
Enter ‘B’ for Model 2010.
Enter ‘C’ for Model 2011.
Then your program should take these inputs,
2. Depending upon the choices that user has entered, your program will further display the prompt
3. If user has entered Car Model, then your program should prompt the user to enter the Car Number and No. of Days for which car is required.
—————————————————————–
Model Name :
Number of Days:
—————————————————————–
4. After getting all this information, now write a function which will calculate rental/charged amount on the basis of this information.
To calculate rental/charged amount we will use this formula:
Rental Amount = charged amount * number of days
Charged amount will be different for different Car Models as described above.
After calculating Rent Amount forCar display it on the screen.








