Write the Dealership member function definition for void updateInventory(double limit); It appropriately removes any Car object whose earnings are less than limit. The function should use the private member function void swapCars(int pos1, int pos2); which swaps the cars pointed to at positions pos1 and pos2.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!