if (month == 12){ System.out.println("зима"); }else if (month <= 2){ System.out.println("зима"); }else if (month > 2 && month < 6){ System.out.println("весна"); }else if (month >= 6 && month < 9 ){ System.out.println("лето"); }else if (month >= 9 && < 12){ System.out.println("осень"); }