闰年
摘要:
#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今年是平年\... 阅读全文
posted @ 2019-03-07 12:10 KB0824 阅读(117) 评论(0) 推荐(0) 编辑