内容简介:/** 判断2009年是闰年还是平年。 *提示: *闰年的条件是符合下面二者之一:(1)年份能被4整除,但不能被100整除;(2)能被400整除。 **/ public class Pdrp{ public static void main(String args[]){ int year=2009; if((year%4==0&&year%100!=0)...
用户评论
voxtech