#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("\n%d今年是闰年\n",year); else printf("%d今年是平年\n",year);
posted on 2019-03-07 12:10 KB0824 阅读(115) 评论(0) 编辑 收藏 举报