会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
傻羊儿咩咩咩
博客园
首页
新随笔
联系
管理
订阅
2015年4月5日
闰年测试
摘要: 闰年测试一、闰年的定义4 年一闰, 100 年不闰,400年又闰二、闰年的程序1.bool isLeapYear( int year ){ return year % 400 == 0 || (year % 4 == 0 && year % 100 != 0);} 2.public static b...
阅读全文
posted @ 2015-04-05 16:37 杨杨&
阅读(129)
评论(0)
推荐(0)
编辑
公告