Question: /// C++ /// Class Assignment: Write the class LuxCar that inherits Car class. It should have a member variable called airCondSetting that is a positive
/// C++ ///
Class Assignment:
Write the class LuxCar that inherits Car class. It should have a member variable called airCondSetting that is a positive integer value in the range 0 to 100. It should have a display function that overrides the Car display function. The display function must display all the information that Car objects display in addition to airCondSetting value. You must call the display of the Car class inside the display of LuxCar. Show the constructor of LuxCar when the Car class has the only Constructor of:
Car(ints = 100, intt = 10); //constructor
Test LuxCar and Car in Main.
In addition:
Main program must create an array of pointer objects of type LuxCar and Car
Display all the Car and LuxCar using the Pointers.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
