Question: #include using namespace std; const int MAXNUMCARS100; class Car private: string m_make; string m_model; double m_earnedOnCar 1 all the money the car has earned public:

 #include using namespace std; const int MAXNUMCARS100; class Car private: string

m_make; string m_model; double m_earnedOnCar 1 all the money the car has

earned public: hi class Dealership Car(string make, string model); double getAmountEarned0nCar) const;

//part a private: Cars m cars[MAXNUMCARS] int m-numCars; // # of cars

void swapCars(int pos1, int pos2);use in c public: double getTotalSales) const; //

part b void updateInventory (double limit); // partc void addCar (Car*); IIuse

in e //Rest of class not shoown hi #include using namespace std;

#include using namespace std; const int MAXNUMCARS100; class Car private: string m_make; string m_model; double m_earnedOnCar 1 all the money the car has earned public: hi class Dealership Car(string make, string model); double getAmountEarned0nCar) const; //part a private: Cars m cars[MAXNUMCARS] int m-numCars; // # of cars void swapCars(int pos1, int pos2);use in c public: double getTotalSales) const; // part b void updateInventory (double limit); // partc void addCar (Car*); IIuse in e //Rest of class not shoown hi #include using namespace std; const int MAXNUMCARS100; class Car private: string m_make; string m_model; double m_earnedOnCar 1 all the money the car has earned public: hi class Dealership Car(string make, string model); double getAmountEarned0nCar) const; //part a private: Cars m cars[MAXNUMCARS] int m-numCars; // # of cars void swapCars(int pos1, int pos2);use in c public: double getTotalSales) const; // part b void updateInventory (double limit); // partc void addCar (Car*); IIuse in e //Rest of class not shoown hi

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!