package pack; import java.util.Scanner; public class Calendar { public static void main(String[] args) { int year; int month; int day=0; int sum=0; boolean flag=false; System.out.println("请输入年份:"); Scanner input=new Scanner(System.in); year=input.nextInt(); System.out.printl