Question: can you please help me with We will be implementing a program to handle inventory for a car dealership. ( 1 ) The base class

can you please help me with
We will be implementing a program to handle inventory for a car dealership.
(1) The base class vehicle contains the following private data:
string make Chevrolet,Ford,Toyota, etc.
string model
string color
integer mpg
double msrp
Create a constructor and the appropriate methods to use this class.
There are derived classes: Car, and Truck
(2) The Car class contains the following private data:
Boolean spareInTrunk
Boolean rearWindshieldWiper
Create a constructor and the appropriate methods to use this class.
(3) The Truck class contains the following private data:
Boolean sidePanelStorage
Boolean autoReleaseTailgate
Create a constructor and the appropriate methods to use this class.
(4) The Menu system should allow users to:
Add a car or truck to inventory
Print list of current inventory
Search, and Print list of cars, or trucks, by make, or model or color
Print details about a specific car or truck

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 Programming Questions!