Question: NOTE: Your classes should include the techniques clearly youve learned in C++ class: 1. Inheritance 2. Virtual functions 3. Constants and references 4. Constant methods
NOTE: Your classes should include the techniques clearly youve learned in C++ class: 1. Inheritance 2. Virtual functions 3. Constants and references 4. Constant methods 5. Copy constructors 6. Dynamic memory allocation
Before writing the actual client application (i.e. main()), be sure your classes should provide enough interface functions that allow the complete client application to be written.
ABC Car Dealership needs your help to update the ordering system. This car dealer is selling four types of vehicles: Sedan, Truck, SUV, and mini Van. And each type of vehicle can have several options: sunroof, security, entertainment, and advanced safety feature. 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. The software needs to be able calculate the total price accurately (base price + prices of installed options). You will need to design classes such that the software can be easily maintained.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
