一个菜鸟问的问题
#include<stdio.h>void main()
{
int year;
printf("请输入年份\n");
scanf("%d\n",&year);
if (year%4==0&&year%100!==0||year%100==0&&year%400==0)
printf("%d is\n",year);
else printf("%d is not\n",year);
printf("a leap\n");
}
这段程序有什么问题,编译时有两个错误