Menu

(Solved) : 48 Lab Seasons Write Program Takes Date Input Outputs Date S Season Input String Represent Q44122668 . . .

4.8 LAB: Seasons Write a program that takes a date as input andoutputs the date’s season. The input is a string to represent themonth and an int to represent the day. Ex: If the input is April11, the output is: spring In addition, check if the string and intare valid (an actual month and day). Ex: If the input is invalid,the output is: invalid The dates for each season are: spring: March20 – June 20 summer: June 21 – September 21 autumn: September 22 -December 20 winter: December 21 – March 19

I need a solution in java.

Expert Answer


Answer to 4.8 LAB: Seasons Write a program that takes a date as input and outputs the date’s season. The input is a string to repr…

OR