Log in

View Full Version : Design a case structure that tests the month variable and does the following:


louisc89
Oct 29, 2012, 12:21 AM
If the month variable is set to 1, it displays "January has 31 days."
If the month variable is set to 2, it displays "February has 28 days."
If the month variable is set to 3, it displays "March has 31 days."
If the month variable is set to anything else, it displays "Invalid selection."

Curlyben
Oct 29, 2012, 12:43 AM
What do YOU think ?
While we're happy to HELP we won't do all the work for you.
Show us what you have done and where you are having problems..