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

    Apr 24, 2012, 08:22 PM
    how do i design an if-then-else
    ow do I design an if-then-else statement that assigns 0 to the variable b if the variable a is less than 10. Otherwise, it should assign 99 to the variable b.
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #2

    Apr 25, 2012, 03:34 AM
    Depends on the language but in psudo code:

    If a < 10 then
    b = 0
    Else
    b = 99
    End If

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!

Scholarship for the course of fashion design or interior design [ 2 Answers ]

hi guys I'm angelica,student in Ateneo De Naga University in the Philippines. I would just like to ask if there is available scholarship for the course of fashion design or interior design?I would like to apply since it is my long dream to become a fashion designer and/or interior designer but...

I have heard that contextual design is a great design methodology. However, I am al [ 0 Answers ]

I have heard that contextual design is a great design methodology. However, I am also hearing discussion of design thinking. Are these design methodologies different or similar. Any thoughts are appreciated.

Plastic Product design, Mold design, Plastics, [ 2 Answers ]

What are all the precautions needs to be taken during Nylon molding?


View more questions Search