Write a C++ program to manage a Car Dealership System. The main user is an employee at the dealership.
Build Specifications
1. The system should load a catalog of all cars in the inventory, which includes new and old cars.
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).
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.
The program must have the following properties :
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), and category (string). The new car class can have warranty provider (string). Old car class can have for example mileage (integer number).
Also, design a menu (should still appear until the exit option is chosen) in the Main program that has the following options implemented to test your classes functionality:
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference
and should not be submitted as is. We are not held liable for any misuse of the solutions.
Please see the frequently asked questions page
for further questions and inquiries.
Kindly complete the form.
Please provide a valid email address and we will get back to you within 24 hours.
Payment is through PayPal, Buy me a Coffee
or Cryptocurrency.
We are a nonprofit organization however we need funds to keep this organization operating
and to be able to complete our research and development projects.