Description: Vehicles
Create a base class called Vehicle that has
• the manufacturer’s name (type string),
• number of cylinders in the engine (type int), and
• owner (type Person, given below).
Define a virtual function Print() to print all the informations of the Vehicle.
Then create a class called Truck that is derive from Vehicle and has additional properties:
the load capacity in tons (type double). Define a Car class that is also derived from the
Vehicle class and has additional properties: bodystyle (type string, e.g. family car, super
car, and concept car).
To Search:
File list (Check if you may need any files):
Vehicles\Car.cpp
........\Car.h
........\Person.cpp
........\Person.h
........\Truck.cpp
........\Truck.h
........\Vehicle.h
........\VehicleDriver.cpp
........\Vehicles.cpp
........\Vehicles.suo
Vehicles