Scaran54 Scaran54

Niner since 2011


  • The if Decision Statement - Day 1 - Part 11

    @Awake: If you do not include the else, then each of the if statements will be evaluated.

    If you do include the else, then if one of the if statements evaluates to true then the following else if statements do not need to be evaluated and the code will continue running after the block of else if statements (meaning less processing needs to occur).

    Hope that makes sense.