title: How to check if two out of three values are the same?
body: <p>I was wondering how to check if two out of three values are the same. My code right now is:</p>
  <pre><code>public static boolean twoOutOfThree(int a, int b, int c) {
      if ((a == b) || (b == c) || (a == c)) {
          return true;
      } 
      return false;
  }
  </code></pre>
  <p>This passes all of the tests that are true however when I test it for (0,0,0), it comes back as true instead of false. Any suggestions on what I'm doing wrong?</p>