Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are required to implement a car rental system in C + + language using Object - OrientedFigure 1 : All the databases ( above

You are required to implement a car rental system in C++ language using Object-OrientedFigure 1: All the databases (above) uarr
Figure 2: List of customers and employees (below) darr
Programming concepts. Implement the system on command line interface.
List of basic functionalities:
1. Keep records of cars rented per customer/employee.
2. A customer is given a car if his/her customer_
record is good enough. A customer record
is updated based on several factors:
a. Car returned later than return_date.
b. Damage caused to the car. The condition in which the car has been returned.
c. The same will be for employees i.e. employee__record.
3. Maintain different databases for customers, employees, and cars.
4. Maintain three different classes for customers, employees, and manager. a. A customer can see all the available cars. Can browse all the cars he is currently
renting. Can rent a limited number of cars as per his/her customer_record. (Optional: If a customer is new, register him with an average customer_record
value). A fine will be imposed per day from the day of return. b. An employee can see all the available cars. Can browse all the cars he/she is currently renting. Can rent a limited number of cars as per his/her employee_record. They are given a 15% discount on all cars. A fine will be
imposed per day from the day of return. c. A manager can add/update/delete any customer or employee. Can also
update/delete/add cars in the store. Can see all the cars and who they are rented to.5. Every method must be present in its appropriate class. Try to make use of both the private and public functionalities for attributes. Prudently use inheritance, polymorphism, data abstraction, and other concepts of OOPs. Start with atleast 5 cars, 5 customers, 5
employees and 1 manager. Feel free to choose default values) for other parameters.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions