不平凡的我
发布时间:2014-11-28 14:35:26
#include <stdio.h>int main(){ int year,leap; scanf("%d",&year);if(year%4==0){if(year%100!=0) leap=1;else{if(year%400==0) leap=1;else leap=0;} }if(leap==1) printf("%d是闰年\n",year);else printf("%d不是闰年\n",year);} .........【阅读全文】