помогите разобраться, не могу понять, почему зиму не выводит
пробовал менять
if (month>=12 на if (month>11
не помогло, зиму почему-то не видитpackage com.javarush.task.task04.task0411;
/*
Времена года на Терре
*/
public class Solution {
public static void main(String[] args) {
checkSeason(12);
checkSeason(4);
checkSeason(7);
checkSeason(10);
}
public static void checkSeason(int month) {
if (month>=12 && month<=2) System.out.println("Зима");
else if (month>2 && month<=5) System.out.println("Весна");
else if (month>5 && month<=8) System.out.println("Лето");
else if (month>8 && month<=11) System.out.println("Осень");
}
}