import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
int a = in.nextInt();
if(a%4!=0 || a%100==0&&a%400!=0)
{
System.out.println(a + "不是闰年");
}
else
{
System.out.println(a + "是闰年");
}
}
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)