You are to write a C program that will prompt the user to enter the current month as a string in lowercase (like "september"). Then display the number of days in the month that they specified, knowing September, April, June, and November have 30 days, February has 28, and all the others have 31. If the user doesn't enter a valid month name, display an appropriate error message.
How would I start on this program?
How would you declare all the variables?
2007-02-27
17:02:16
·
4 answers
·
asked by
Anonymous