Page 1 of 1

C++

Posted: Tue Jul 12, 2022 8:10 am
by answerhappygod
C++
C 1
C 1 (74.09 KiB) Viewed 45 times
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.