关于判断闰年的问题!
用宏定义作的,可运行起来怎么结果就不对呢?!希望指点一下错误!#include<stdio.h>
#define Leap(y) ((y)%4==0&&(y)%100!=0)||((y)%400==0)
void main()
{
int y;
scanf("%d",y);
if(Leap(y)) printf("%d is aleap year.\n",y);
else printf("%d is not a leap year.\n",y);
}