求解为什么有一个地方不通过~
#include <stdio.h>
int main()
{
int year;
scanf("%d",&year);
int a = 2000;
if(year>2000)
{
if(year<2004)
{
printf("None");
}
else
{
if(year<=3000)
{
while(a<year-3)
{
a+=4;
if(a%100 != 0)
{
printf("%d\n",a);
}
}
}else
{
printf("Invalid year!");
}
}
}else
{
printf("Invalid year!");
}
return 0;
}