c++ Changing from second into days,hours.minutes and second

后端 未结 0 794
醉酒成梦
醉酒成梦 2021-01-26 12:08

cout << "Please enter the elapsed time in seconds or (0 to end the program): " ; cin >> totalSeconds;

    days = totalSeconds / 86400 % 60;
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题