import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("请输入月份:");
String month = sc.nextLine();
switch(month){
case "1":
case "2":
case "3":
System.out.println(month + " 月属于春季");
break;
case "4":
case "5":
case "6":
System.out.println(month + " 月属于夏季");
break;
case "7":
case "8":
case "9":
System.out.println(month + " 月属于秋季");
break;
case "10":
case "11":
case "12":
System.out.println(month + " 月属于冬季");
break;
default:
System.out.println("你输入的并非月份。\n希望她开心每一天");
}
sc.close();
}
}