0

How can i display time from a number of minutes

ex. 362 minutes into 6:02 i can’t seem to get the 0 in the tens digit so i can’t use %60 like some people suggest.

23rd Oct 2019, 12:07 AM
Christian
Christian - avatar
2 Réponses
- 1
class Time { private: int seconds; int hh,mm,ss; public: void getTime(void); void convertIntoSeconds(void); void displayTime(void); };
23rd Oct 2019, 12:32 AM
iamvinci
iamvinci - avatar