import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int y = s.nextInt();
if ((y%4==0&&y%100!=0||y%400 == 0)) {
System.out.println("yes");
}else {
System.out.println("no");
}
}
}
蓝桥杯练习系统基础练习——闰年判断
最新推荐文章于 2022-03-04 11:36:56 发布