Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

IN C + + Show me the steps to solve Programming Assignment # 2 We will be implementing a program to handle inventory for a

IN C++ Show me the steps to solve Programming Assignment #2
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 sparelnTrunk
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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions