看不出来我错哪儿了( ╯□╰ )
#include <stdio.h>
int main()
{
/* 定义需要计算的日期 */
int year = 2008;
int month = 8;
int day = 8;
int m;
/*请使用switch语句,if...else语句完成本题*/
switch(year%4)
{
case 0:
m=244;
default:
m=243;
printf("%d年%d月%d日是该年的第%d天","year","month","day","m");
break;
}
return 0;
}