摘要: 案例5:根据指定的月份输出对应季节 /** * 3,4,5 春季 * 6,7,8 夏季 * 9,10,11 秋季 * 12,1,2 冬季 * * @param month */ public static void switchMonth(int month) { switch (month) { 阅读全文
posted @ 2023-03-15 18:11 晓枫的春天 阅读(215) 评论(0) 推荐(0) 编辑