int main() { double time = 8.333; printf("%d분 %.0lf초\n",(int)time, (time-(int)time)*60); return 0;}
Standard input is empty
8분 20초
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!