Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Show me the steps to solve Programming Assignment # 2 We will be implementing a program to handle inventory for a car dealership. ( 1
Show me the steps to solve Programming Assignment #
We will be implementing a program to handle inventory for a car dealership.
The base class vehicle contains the following private data:
string make "Chevrolet", "Ford", "Toyota", etc.
string model
string color
integer
double msrp
Create a constructor and the appropriate methods to use this class.
There are derived classes: Car, and Truck
The Car class contains the following private data:
Boolean sparelnTrunk
Boolean rearWindshieldWiper
Create a constructor and the appropriate methods to use this class.
The Truck class contains the following private data:
Boolean sidePanelStorage
Boolean autoReleaseTailgate
Create a constructor and the appropriate methods to use this class.
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started