You are viewing a single comment's thread. Return to all comments →
I agree with 40 and 50 but it's easier with 15 and 30 to do this:
40
50
15
30
// Minutes[15] = "quarter", Minutes[30] = "half" cout << Minutes[m]; ... else if (m == 15 || m == 30) cout << (tmp ? to : past); // to = " to ", past = " past " ... cout << Minutes[h] << endl;
Seems like cookies are disabled on this browser, please enable them to open this website
The Time in Words
You are viewing a single comment's thread. Return to all comments →
I agree with
40
and50
but it's easier with15
and30
to do this: