能告诉我错在哪里吗
switch(day);
{
case 1:
printf("%d",31);
case 2:
if(day==28);
{
printf("%d",28);
}
else;
printf("%d",29);
case 3:
printf("%d",31);
case 4:
printf("%d",30);
case 5:
printf("%d",31);
case 6:
printf("%d",30);
case 7:
printf("%d",31);
case 8:
printf("%d",8);
}
printf("2008年8月8日这一天,是该年中的第%d天",day);