1、先存平年的每月天数 2、如果是闰年再修改即可 import java.util.Calendar; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner console = new Scanner(System.in); int year = console.nextInt(); //write your code here...... int[] month = {31, 28,...