标签:sys ati pre out blog print color stat log
1 public class year{ 2 3 4 public static void main(String[] args){ 5 6 int year=2010; 7 8 if((year%4==0&&year%100!=0)||(year%400==0)){ 9 10 System.out.println(year+"年是闰年"); 11 }else{ 12 13 System.out.println(year+"年是平年"); 14 } 15 16 17 } 18 19 }
标签:sys ati pre out blog print color stat log
原文地址:http://www.cnblogs.com/cl-94/p/7152036.html