title: Using Multiple Conditions in a Ruby IF statement
body: <p>I'm trying to use multiple conditions in an IF statement, to see if the number entered was 5, 10, or 15.  If the input is not one of these numbers, then it should output an error message.</p>
  
  <p>But even if 5, 10, and 15 are input, it always outputs the error message.</p>
  
  <pre><code>when 3
    print("Enter the discount percentage, must be (5, 10, or 15)")
    dis= gets.to_i
    if (dis != 5 || dis != 10 || dis != 15)
      puts("You entered an invalid discount")
    else
    end
  </code></pre>