Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in c++ please Exercise 1: Define a class based object called vehicleType in the VehicleTypeHeader.h file that contains the member variables listed below (20pts): The

in c++ please
image text in transcribed
image text in transcribed
Exercise 1: Define a class based object called vehicleType in the VehicleTypeHeader.h file that contains the member variables listed below (20pts): 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.ee 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 1234560 License plate number: 1234560 the the a parameter. The function should randomly generate a number between 1111111 and 9999999 and assign it to the license plate member variable. I-PASTE CODE HERE - The content of the vehicleTypeHeader i file only" =my Vehiclelist.txt data = Toyota Camry 201215500 used Red Sedan Subaru Outback_Premium 34500 certified Maroon Wagon Honda CR-V EXL 201625950 used Grey SUV Lexus NX250 Premium 2022 new White sUV Kia Sorento_SX 201622451 used Black SUV Toyota Camry_Solara 202330494 used Red Coupe Ford Mustang_GT 202243145 new Midnight_blue Sports_car Alfa_Romeo Gulia_T1 202244945 certified. Silver Sedan

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Explain the importance of community and user dialogue exchange.

Answered: 1 week ago