package Test2016;
import java.util.Scanner;
public class LeapYear {
public static void main(String[] args) {
System.out.println("请输入年份");
Scanner scan=new Scanner(System.in);
while(true){int num=scan.nextInt();
if(num%4==0&&num%100!=0||num%400==0){
System.out.println(nu
}else{
System.out.println(num+"年不为闰年");
}
}
}
}