会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
wssty
博客园
首页
新随笔
联系
订阅
管理
闰年的判定——选择结构
闰年能被四整除,不能被100整除,但能被400整除的年份。 #include<stdio.h> int main(){ int year; scanf("%d",&year); if(year%4==0&&year%100!=0||year%400==0) printf("%d is runnian
posted @
2023-12-07 20:26
清幽硕
阅读(
9
) 评论(
0
)
编辑
收藏
举报
指间灵动,快码加编
刷新页面
返回顶部
公告