Question
Write a C++ program to manage a Car Dealership System. The main user is an employee at the dealership Please include all the header files
Write a C++ program to manage a Car Dealership System. The main user is an employee at the dealership
Please include all the header files and the cpp files
There should be a design menu like the following:
1. Search Inventory
2. Sell/Lease cars
3. Return a leased car
4. Add cars to inventory
5. Exit
The program should include the following:
1.The system should load a catalog of all cars in the inventory, which includes new and old cars. 10 new and 10 old cars = 20 total
2. A user can search the inventory: The user of the system can search the inventory by using the make of the car, model of the car, or by category (new or old cars).
In the Search Inventory make sure to include the following:
- Save and load data from and to a file.
- Show a list of cars within a given price range.
3. A user can sell or lease new and old cars.
4. A user can return a leased car into the inventory.
5. Add new and old cars into the inventory.
- You should do error handling (Ex: An employee cannot add a car that already
exists)
- You should use inheritance, polymorphism, and aggregation.
Example:
-You can design a generic car class, then design derived classes for new and old cars.
-The car class may have the following data members:
VIN (string),
Make (string),
Model (string),
year (integer number),
price (floating number)
category (string).
The new car class can have warranty provider (string).
Old car class can have for example mileage (integer number)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started