#做题笔记,仅自己看得懂
题目:
正确姿势:
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scanner=new Scanner(System.in);
Integer y=scanner.nextInt();
if((y%4==0&&y%100!=0)||y%400==0) {
System.out.println("yes");
}else {
System.out.println("no");
}
}
}