大佬可以看看这个代码哪里错了呢
#include <stdio.h>
int main()
{
/* 定义需要计算的日期 */
int year = 2008;
int month = 8;
int day = 8;
int sum
switch(month)
case 1:sum=31+day;break;
case 2:sum=59+day;break;
case 3:sum=90+day;break;
case 4:sum=120+day;break;
case 5:sum=151+day;break;
case 6:sum=181+day;break;
case 7:sum=222+day;break;
case 8:sum=252+day;break;
case 9:sum=283+day;break;
case 10:sum=313+day;break;
case 11:sum=343+day;break;
case 12:sum=374+day;break;
if((year%4==0)&&(year%100!=0)||year%400==0))
{
sum=sum+1;
}
return 0;
}