摘要: 闰年测试一、闰年的定义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 杨杨& 阅读(128) 评论(0) 推荐(0) 编辑