Write a program reads two integers representing a month and day and prints the season for that month and day. Assume that months are specified as an integer between 1 and 12 (1 for January, 2 for February, and so on) and that the day of the month is a number between 1 and 31. If the date falls between 12/16 and 3/15, you should print Winter. If the date falls between 3/16 and 6/15, you should print Spring. If the date falls between 6/16 and 9/15, you should print Summer. And if the date falls between 9/16 and 12/15, you should print Fall.public static void main(String[] args){    Scanner scan = new Scanner(System.in);    int month = scan.nextInt();    int day = scan.nextInt();    if((month == 12 && day >= 16 && day <= 31) || (month == 1 && day >=1 && day <= 31) || (month == 2 && day >= 1 && day <= 28) || (month == 3 && day >=1 && day <=15))    {        System.out.println(Winter);    }    else if((month == 3 && day >= 16 && day <= 31) || (month == 4 && day >=1 && day <= 30) || (month == 5 && day >= 1 && day <= 31) || (month == 6 && day >=1 && day <=15))    {        System.out.println(Spring);    }    else if((month == 6 && day >= 16 && day <= 30) || (month == 7 && day >=1 && day <= 31) || (month == 8 && day >= 1 && day <= 31) || (month == 9 && day >=1 && day <=15))    {        System.out.println(Summer);    }    else if((month == 9 && day >= 16 && day <= 30) || (month == 10 && day >=1 && day <= 31) || (month == 11 && day >= 1 && day <= 30) || (month == 12 && day >=1 && day <=15))    {        System.out.println(Fall);    }}}
Seasons by month and day
java;datetime