#includevoid main(){int year;printf("请输入年份:");scanf("%d",&year);if((year%4==0&&year%100!=0)||year%400==0)printf("是润年");else printf("不是闰年");}
本文共 198 字,大约阅读时间需要 1 分钟。
#includevoid main(){int year;printf("请输入年份:");scanf("%d",&year);if((year%4==0&&year%100!=0)||year%400==0)printf("是润年");else printf("不是闰年");}
转载于:https://www.cnblogs.com/p201821430019/p/10488830.html