Searched refs:getCost (Results 1 – 1 of 1) sorted by relevance
20 int getCost(int area) { return area * 70; } in getCost() function in PaintCost40 cout << "Total paint cost: $" << Rect.getCost(area) << endl; in test_inheritance()
Completed in 2 milliseconds