Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Programming (https://www.askmehelpdesk.com/forumdisplay.php?f=437)
-   -   Design a case structure that tests the month variable and does the following: (https://www.askmehelpdesk.com/showthread.php?t=712547)

  • Oct 29, 2012, 12:21 AM
    louisc89
    Design a case structure that tests the month variable and does the following:
    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."
  • Oct 29, 2012, 12:43 AM
    Curlyben
    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..

  • All times are GMT -7. The time now is 03:48 PM.