Ask Experts Questions for FREE Help !
Ask
    louisc89's Avatar
    louisc89 Posts: 1, Reputation: 1
    New Member
     
    #1

    Oct 29, 2012, 12:21 AM
    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."
    Curlyben's Avatar
    Curlyben Posts: 18,508, Reputation: 1860
    BossMan
     
    #2

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

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

A(n) _______ structure tests a condition and then takes one path if the condition [ 1 Answers ]

A) IF-THEN statement B) single alternative decision C) dual alternative decision D) sequence

Design foundation of structure carrying overhead tank of 75,000 litres of water [ 1 Answers ]

Footing of reinforced concrete while stanchion and braces are made of steel.

No period for almost a month and 1/2 pregnant. Tests negative. [ 2 Answers ]

I am 20yrs old, have always been irregular, have always been involved in physical activites(sports) and exercising since I was young... I stopped playing sports 5months ago and exercising when I found out I had to get hip surgery... anyways I have not had sex in about a month... last period started...

Variable Cost per line/case [ 1 Answers ]

Hi, I am new to site. I need help with understanding what "variable cost per line / case" is and how do I find these values. I am very new to building budgets so any help is greatly appreciated. Thanks, ER


View more questions Search