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."
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."