问题:756分钟是多少小时零多少分钟?
程序:#include<stdio.h>
main( )
{
int i=756,h,m;
h=i/60;
m=i%60;
printf("\nHour:%d,Minute:%d",h,m);
}
输出结果:Hour:12,minute:36
问题:756分钟是多少小时零多少分钟?
程序:#include<stdio.h>
main( )
{
int i=756,h,m;
h=i/60;
m=i%60;
printf("\nHour:%d,Minute:%d",h,m);
}
输出结果:Hour:12,minute:36