C语言将5120分钟换算成小时天和月
发布网友
发布时间:2024-05-31 00:26
我来回答
共1个回答
热心网友
时间:2024-06-25 01:06
#include<stdio.h>
int main(){
int min=5120,hour,day,month;
hour=min/60;
day=hour/24;
month=day/30;
printf("%d min = %d hour = %d day = %d month",min,hour,day,month);
getch();
return 0;}
C语言将5120分钟换算成小时天和月
int min=5120,hour,day,month;hour=min/60;day=hour/24;month=day/30;printf("%d min = %d hour = %d day = %d month",min,hour,day,month);getch();return 0;}