class CarCostCalculatorFor AllCarTypes float getBMW5CarCost Car car co

1
2
3
4
5
6
7
8
9
class CarCostCalculatorForAllCarTypes
{
...
float getBMW5CarCost(Car* car) const;
float getToyotaCarCost(Car* car) const;
float getFordCarCost(Car* car) const;
float getVolvoCarCost(Car* car) const;
...
};