Question: in c++ Design and implement an ADT called Car. Support the following operations: ability to set make and model, ability to shift gear up or

in c++
Design and implement an ADT called Car. Support the following operations: ability to set make and model, ability to shift gear up or down (assume a max of 6-speed), ability to shift lanes (left or right; assume a max of three lanes), accelerate and decelerate (in units of 5 mph), and display the current state of the car (show the make, model, current gear number, current lane and speed). Instantiate some Car objects in your main function and take it for a spin
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
