Question: This is for C++, the program should include the techniques below: 1. Inheritance 2. Virtual functions 3. Constants and references 4. Constant methods 5. Copy

This is for C++, the program should include the techniques below:

1. Inheritance 2. Virtual functions 3. Constants and references 4. Constant methods 5. Copy constructors 6. Dynamic memory allocation

Write a C++ program to manage a Car Dealership SELL Software System. The main user is customer at the dealership.

Build Specifications:

1. The system should load four type of cars and prices. Four type of cars: Sedan, Truck, SUV, and mini Van.

2. User could add four options into the car choosed and option's price.Four options: sunroof, security, entertainment, and advanced safety feature.

3. As each vehicle can be equipped with none or more options, and even the same option (e.g. sunroof) can be added twice to the same vehicle.

4. The system needs to be able calculate the total price accurately (base car price + prices of installed options) after customer done.

5. The system should do error handling.

The program have the following properties:

1. Setting class and date member of each class by yourself

2. ONLY one file for your program: Car.cpp

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!