Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem Statement Given a date in the form of Month Day, print the current season. In each of the months where the season changes, assume
Problem Statement
Given a date in the form of "Month Day", print the current season. In each of the months where the season changes, assume that the season always changes on the st For example, the correct output would be "Fall" for the date "September and "Summer" for the date "September Note that the input to the program is month and then day, not "month day" on one line. For the full ranges:
Spring: Runs from March st through June th
Summer: Runs from June st through September th
Fall: Runs from September st through December th
Winter: Runs from December st through March th
Sample Input
March
Sample Output
Spring
Sample Input
June
Sample Output
Summer
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started