Question: Write a prognm that takes a date as input and outputs the date's season in the northern hemisphere. The input is i the month and
Write a prognm that takes a date as input and outputs the date's season in the northern hemisphere. The input is i
the month and an int to represent the day.
Exilt the inputis
April
the output is:
epring
in addition, check if the string and int are valid an actual month and day
Ex if the input is:
PIue
the output is:
Tnvalid
The dates for each season in the northern hemisphere are
Spring March June
Summer June September
Auturnn. September December
Witter: December March
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
