知识点: 1.键盘录入:Scanner sc = new Scanner(System.in); 接受数据:int month = sc.nextInt(); 2.for循环+switch...case语句的嵌套使用. 代码: 相关文章: 2021-10-21 2021-07-12 2022-12-23 2022-12-23 2022-01-17 2021-04-06 2021-10-30 2022-12-23