Привет! Подскажите пожалуйста почему не проходит последнюю проверку? Ответы вроде верные, всё выводится верно. Но проверка увы и ах
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 > 0 && month < 3)
System.out.println("зима");
if (month > 10 && month < 13)
System.out.println("зима");
if (month > 3 && month < 6)
System.out.println("весна");
if (month > 5 && month < 9)
System.out.println("лето");
if (month > 8 && month < 11)
System.out.println("осень");
}
}