请问,错在哪
#include <stdio.h>
int main()
{
/* 定义需要计算的日期 */
int year = 2008;
int month = 8;
int day = 8;
int sum;
switch(month)
{
case1:sum=0;break;
case2:sum=31;break;
case3:sum=59;break;
case4:sum=90;break;
case5:sum=120;break;
case6:sum=151;break;
case7:sum=181;break;
case8:sum=212;break;
default:printf("哈哈,就到八月");break;
}
if((year%4==0&year%100!=0)||year%400==0)
sum=1+sum+day;
else
printf("是八月");
printf("%d"sum);