Find Season
Reaya's teacher has asked her to prepare well for the lesson on seasons. When her teacher tells a month, she needs to say the season corresponding to that month. Write a program to solve the above task.
- Spring - March to May,
- Summer - June to August,
- Autumn - September to November and,
- Winter - December to February.
Sample Input 1:
Enter the month:11
Sample Output 1:
Season:Autumn
Sample Input 2:
Enter the month:13
Sample Output 2:
Invalid month
Result Description
Comments
Post a Comment