Days in a Month
From CompSciWiki
Back to the Program-A-Day homepage
ProblemCreate a program that allows the user to enter a month, and then outputs the number of days in that month. For simplicity sake, ask the user for the number of the month rather than the string. Also, assume there are 28 days in February.
|
SideSectionTitle
An image or By Students section | |
---|---|---|
Solution | ||
CodeSolutionCode goes here. Please DO NOT put your code in <pre> tags! |