import java.util.Scanner;
public class Tem {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = 5;
if (a >= 3 && a <= 5) {
System.out.println(a + "春季");
} else if (a >= 6 && a <= 8) {
System.out.println(a + "夏季");
} else if (a >= 9 && a <= 11) {
System.out.println(a + "秋季");
} else if (a == 12 || (a <= 2 && a <= 1)) {
System.out.println(a + "冬季");
} else {
System.out.println("输入不对");
}
}
}
|
|