Okay so right now what I am trying to do is enter minutes and then seconds and the seconds are to be 60 seconds or below (obviously) So the code I am trying right now is a bit like this
int min_total = 0; int sec_total = 0; const int minute = 60; int seconds_to_min; cin >> min >> sec ; min_total = min_total + min; sec_total = sec_total + sec; sec_total = minute % sec_total; cout << min << sec;
is there any help that could be given? It would mean a lot if there was!
This post has been edited by xnoviice: 07 October 2012 - 07:54 PM