title: Check integer number is between two values
body: <p>I have a int variable named <code>number</code> with value <code>21</code>.</p>
  
  <pre><code>int number = 21;
  
  if (number &gt;= 6 &amp;&amp; number &lt; 12) {
      System.out.println("catch 1");
  }
  else if (number &gt;= 12 &amp;&amp; number &lt; 17) {
      System.out.println("catch 2");
  }
  else if (number &gt;= 17 &amp;&amp; number &lt; 21) {
      System.out.println("catch 3");
  }
  else if (number &gt;= 21 &amp;&amp; number &lt; 6) {
      System.out.println("catch 4");
  }
  </code></pre>
  
  <p>Why i can't see the <code>catch 4</code> message?</p>