#include void main() { int year,a; printf("请输入年份:"); scanf("%d",&year); if((year/4==0&&year/100!=0)||(year/400==0)) a=1; else a=0; if(a=1); printf(" %d今年是闰年 ",year); else printf("%d今年是平年 ",year);