1: Define a class based object called vehicleType in the VehicleTypeHeader.h file that contains the member variables listed below (20pts). Variable name Description make model year price color style . licensePlate type Cost of the vehicle Color of the vehicle Coupe, sedan, SUV, truck, hatchback, etc. Vehicle license plate number New, used, certified Tags The class should have the following constructors: 1. A default constructor that assigns the term "NA" to all string variable and 0 to the numerical variables. 2. A constructor that accepts values as arguments and assigns them to the appropriate member variables. Write the appropriate mutator functions (setters) that store values in these member variables and accessor functions (getters) that return the values of the private member variables. Include the additional member functions listed below: printVehicleInfo: the member function does not take a parameter. The function displays information about a vehicle as shown below. Make: Toyota Model: RAV 4 Year: 2019 (used) Price: $32158.99 Style: SUV ==Color: Midnight blue ==License plate number: 1234560 generateLicense Plate: the function does not take a parameter. The function should randomly generate a number between 1111111 and 9999999 and assign it to the license plate member variable. DASTE CODE HERE The content of the VehicleTypelleader.h file only

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
ise 1: Define a class based object called vehicleType in the VehicleTypeHeader.h
file that contains the member variables listed below (20pts).
Variable name
Description
make
model
year
price
color
style
license
type
Cost of the vehicle
Color of the vehicle
Coupe, sedan, SUV, truck, hatchback, etc.
Plate Vehicle license plate number
New, used, certified
The class should have the following constructors:
1. A default constructor that assigns the term "NA" to all string variable and 0 to the
numerical variables.
2.
A constructor that accepts values as arguments and assigns them to the appropriate
member variables.
Make: Toyota
Model: RAV 4
Write the appropriate mutator functions (setters) that store values in these member variables
and accessor functions (getters) that return the values of the private member variables.
Tags v
Include the additional member functions listed below:
printVehicleInfo: the member function does not take a parameter. The function displays
information about a vehicle as shown below.
Year: 2019 (used).
Price: $32158.99
Style: SUV
Color: Midnight blue
== License plate number: 1234560
generateLicense Plate: the function does not take a parameter. The function should
randomly generate a number between 1111111 and 9999999 and assign it to the license plate
member variable.
/PASTE CODE HERE -- The content of the VehicleTypeHeader.h file only
Transcribed Image Text:ise 1: Define a class based object called vehicleType in the VehicleTypeHeader.h file that contains the member variables listed below (20pts). Variable name Description make model year price color style license type Cost of the vehicle Color of the vehicle Coupe, sedan, SUV, truck, hatchback, etc. Plate Vehicle license plate number New, used, certified The class should have the following constructors: 1. A default constructor that assigns the term "NA" to all string variable and 0 to the numerical variables. 2. A constructor that accepts values as arguments and assigns them to the appropriate member variables. Make: Toyota Model: RAV 4 Write the appropriate mutator functions (setters) that store values in these member variables and accessor functions (getters) that return the values of the private member variables. Tags v Include the additional member functions listed below: printVehicleInfo: the member function does not take a parameter. The function displays information about a vehicle as shown below. Year: 2019 (used). Price: $32158.99 Style: SUV Color: Midnight blue == License plate number: 1234560 generateLicense Plate: the function does not take a parameter. The function should randomly generate a number between 1111111 and 9999999 and assign it to the license plate member variable. /PASTE CODE HERE -- The content of the VehicleTypeHeader.h file only
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
JQuery and Javascript
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education