#include <iostream>
using namespace std;
int main()
{
long long int A,hour,mintue,second;
while(cin>>A)
{
second=A%60;
A/=60;
mintue=A%60;
A/=60;
hour=A;
cout << hour << " hours " << mintue << " mintues and " << second << " seconds" << endl;
}
return 0;
}
沒有留言:
張貼留言