Using Boolean Algebra to determine a limit between two numbers?
<p>I have to use only Boolean and if statements to determine if a number is between 141 and 185 and whether it is lower or higher than that number. I am stumped.</p>

<pre><code>double maxHR= 220- Double.parseDouble(yearsOld);        //maximum heart rate
double reserveHR=  maxHR- Double.parseDouble(restingHR);         //heart rate reserve
double upperEndZone= (reserveHR*.85)+Double.parseDouble(restingHR);
double lowerEndZone= (reserveHR*.50)+Double.parseDouble(restingHR);

boolean isTargetRateLow= lowerEndZone&lt;= Double.parseDouble(restingHR) ;
</code></pre>

<p>Is there a way to put two operators within one boolean statement? I think that would solve my issue.</p>
