#include #include using namespace std; class Car { //data elements private: int speed; string name; int year; // member functions public: //basic constructor Car() { speed = 0; name = "none"; year = 0; } // constructor that sets values Car(string n, int y) { name = n; year = y; speed = 0; } //methods of class car int accelerate(int gear) { speed = speed + gear; return speed; } int getSpeed() { cout<