Question: Question 3 ( 3 0 Points ) : The dates for each season in the northern hemisphere are: Spring: March 2 0 - June 2

Question 3(30 Points): The dates for each season in the northern hemisphere are:
Spring: March 20- June 20
Summer: June 21- September 21
Autumn: September 22- December 20
Winter: December 21- March 19
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 Input/Output for understanding.
Sample Input 1:
Input 1: Enter Date: April 11
Output: Spring
Input 2: Enter Date: Blue 65
Output: Invalid
You must test the following test cases with your code and attach the output.
Input 1: Enter Date: August 33
Output: ??
Input 2: Enter Date: March 07
Output: ??
Input 3: Enter Date: July 13
Output: ??
Input 4: Enter Date: Ocean 17
Output: ??
 Question 3(30 Points): The dates for each season in the northern

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!