编写一个程序,把您的年龄转换成天数并显示二者的值。不用考虑平年( fractional year)和闰年(leapyear)的问题
#include<stdio.h>
int main(void)
{
int age=22;
printf("Age:%d\n",age);
printf("Day:%d\n",age*356);
return(0);
}
编写一个程序,把您的年龄转换成天数并显示二者的值。不用考虑平年( fractional year)和闰年(leapyear)的问题
#include<stdio.h>
int main(void)
{
int age=22;
printf("Age:%d\n",age);
printf("Day:%d\n",age*356);
return(0);
}