не запускается в InteliiJ
пишет после запуска
Error:(14, 5) java: missing return statement
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 >= 3 && month < 6) {
System.out.println("весна");}
else if (month >= 6 & month < 9 ) {
System.out.println("весна"); }
else if(month >= 9 && month < 12 ) {
System.out.println("осень"); }
else {
System.out.println("зима"); }
}
}