-
-
Save erikvalkering/7fb088b256417fca02f8996b4e557f19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto sumPrices(vector<Car> &cars) { ... } | |
cout << "Cars in showroom: " | |
<< sumPrices(dealership.showroom()) | |
<< " euro" << endl; | |
cout << "Cars ever sold: " | |
<< sumPrices(dealership.soldCars()) | |
<< " euro" << endl; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment