求大神帮忙看看错在哪里啦
#include<stdio.h>int main()
{
int year,leap;
printf("enter year");
scanf("%d",year);
if((year%4==0 && year%100!=0) || (year%400==0))
leap=1;
else
leap=0;
if(leap)
printf("%d is a",year);
else
printf("%d is not a",year);
printf(" leap year\n");
return 0;
}