Question: Question 3 ( 3 0 Points ) : The dates for each season in the northern hemisphere are: Spring: March 2 0 - June 2
Question Points: The dates for each season in the northern hemisphere are:
Spring: March June
Summer: June September
Autumn: September December
Winter: December March
Write a program that takes a date as input and outputs the date's season in the northern hemisphere. The input is a string to represent the month and an int to represent the day. You need to check if the string and int are valid an actual month and day Check the following sample InputOutput for understanding.
Sample Input :
Input : Enter Date: April
Output: Spring
Input : Enter Date: Blue
Output: Invalid
You must test the following test cases with your code and attach the output.
Input : Enter Date: August
Output:
Input : Enter Date: March
Output:
Input : Enter Date: July
Output:
Input : Enter Date: Ocean
Output:
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
