Question: Write a program using functions in C that asks the user to input a month of the year (1-12) and a day in the month

Write a program using functions in C that asks the user to input a month of the year (1-12) and a day in the month (1-31). The program should check whether the date is valid and return the season the date is in.

Useful information :

season dates are :

Spring March 20th to June 20th

Summer June 21st to Sept 21st

Autumn Sep 22nd to Dec 20th

Winter Dec 21st March 19th.

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!