发布时间:2014-11-28 14:24:31
#include <stdio.h>int main(){int year,result=0; printf("输入一个年份:\n");scanf("%d",&year);if(year%100==0) {if(year%400==0)result=1;}else if(year%4==0)result=1; if(result==1) printf("\n%d是闰年",year);else  .........【阅读全文】
阅读(1528) | 评论(0) | 转发(0)