Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
This is a multi-part problem in which you will construct several object classes and a short demonstrationprogram1. Submit the completed program (all 4 parts) including all class definitions/implementations in asingle .cpp source file (i.e., do not construct separate files for class headers and implementation).A used car dealership maintains an inventory of several types and models of vehicles. There are three kinds ofvehicles: Cars, Trucks and SUVs. Regardless the type, the dealership maintains the following information forevery vehicle:• Make : string• Model : string• Year : integer• Mileage : integerAdditional information is maintained for each individual vehicle depending on its type:For Cars: Number of doors (2 or 4)For Trucks: Drive type (2-wheel drive or 4-wheel drive)For SUVs: Passenger CapacityPart 1Construct a base class named Vehicle to maintain the common vehicle data. The class should include aconstructor that will support initializing all 4 attributes as well as separate accessor and mutator methods foreach data attribute.Part 2Construct three additional classes named Car, Truck and SUV to represent Cars, Trucks, and SUVsrespectively. Each of these classes should be derived from the Vehicle class and extended by adding theattributes unique to the type of vehicle. Each class should provide a constructor to initialize its attribute(s) aswell as the attributes of the parent class. Provide accessor and mutator methods for each class to get and set theattributes for the particular class.Add a method named Display to each of the four classes to print out the individual vehicle information. Forthe Vehicle class, the Display method should print the following (one element per line):Make: vehicle_makeYear: vehicle_yearModel: vehicle_modelMiles: vehicle_mileageEach vehicle-type class (Car, Truck, SUV) should print out the information specific to its own type in additionto the vehicle information. Note that you can print the vehicle information using a call to the base classDisplay method: Vehicle::Display(). Here is an example of the output for a Car:Inventory unit: CarMake: AudiYear: 2009Model: A8Miles: 40000Number of doors: 4Part 4Finally, write a main program to test your classes. Instantiate 5 objects to represent the following vehicles:car: 1987 Audi A6 4-door with 185,000 milescar: 1963 Volkswagen Beetle 2-door with 240,000 milestruck: 2007 Ford 4-wheel drive F-150 with 82,000 milessuv: 2001 8-passenger Chevrolet Suburban with 118,000 milessuv: 2010 5-passenger Kia Sorento with 29,000 milesPrint out the vehicle information for all 5 vehicles using the .Display() method for each vehicle.
Create program that uses functions and reference parameters, and asks user for the outside temperature.
Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles
Calculate and store the average for each row and column. Determine and store the values for the Average Map.
Write a webservices application that does a simple four function calculator
Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.
Explain Model-View-Controller paradigm
How many levels of nesting are there in this design?
Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.
Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.
Design a base class shape with virtual functions
Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data
Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd