Help for this page

Select Code to Download


  1. or download this
    if (a && b || c && d || e) // wtf? Don't make me guess what you intend
    +ed!
    if ((a && b) || (c && d) || e) // clear
    if (a && (b || c) && (d || e)) // as clear, but a very different condi
    +tion
    if (a && (b || (c && (d || e)))) // a different condition
    if ((((a && b) || c) && d) || e) // another different condition
    
  2. or download this
    if ((((((((a && b))) || (((c)))))))) // make extra-sure that parenthes
    +es have precedence ;-)
    
  3. or download this
    if (
        ((a == A_MAGIC_1) || (a == A_MAGIC_2))
    ...
            ((c == C_MAGIC_2) && (a == A_MAGIC_2) && (b == B_MAGIC_2))
        )
    )