You are viewing a single comment's thread. Return to all comments →
If we're going for minimal code, embrace the ternary!
cout << (carry ? "NO" : loaves) << endl;
Seems like cookies are disabled on this browser, please enable them to open this website
Fair Rations
You are viewing a single comment's thread. Return to all comments →
If we're going for minimal code, embrace the ternary!