title: Efficent way to check if a number is in a given range
body: <p>Consider the following scenario:</p>
  
  <ul>
  <li><p>I have 2 constants <strong>MAX</strong> &amp; <strong>MIN</strong></p></li>
  <li><p>I get a new number <strong>x</strong></p></li>
  </ul>
  
  <p>Now to check if x in the given rage I would do something like this:</p>
  
  <pre><code>if(x &gt;= MIN &amp;&amp; X &lt;= MAX)
  {
     //Some logic
  }
  </code></pre>
  
  <p>I wondering if there's a better way to go talking about efficiency. I do know that's a very simple task, but I am just curious to know if there's a better way</p>