title: Check if a variable is between two numbers with Java
body: <p>I have a problem with this code:</p>
  
  <pre><code>if (90 &gt;&gt;= angle =&lt;&lt; 180)
  </code></pre>
  
  <p>The error explanation is:</p>
  
  <blockquote>
    <p>The left-hand side of an assignment must be a variable.</p>
  </blockquote>
  
  <p>I understand what this means but how do I turn the above code into correct code?</p>