java - Using Boolean Algebra to determine a limit between two numbers? -


I only have to use boolean and if the statements are between 141 and 185 for determining the statements Is it less or more that number has been stumped to me?

  Double MaxHR = 220 - double. Parallel (years ago); // Maximum heart rate double reserve RR = MAXHR- double. PRADABB (resting HR); // Heart Rate Reserve Double Upper Endzone = (Reserved RR * .85) + Double. PRADABB (resting HR); Double Lowerhand Zone = (Reserved HR * .50) + Double. PRADABB (resting HR); Boolean isTargetRateLow = Bottom ENDZone & lt; = DoublePrSD double (resting);  

Can two operators be placed inside a boolean statement? I think that will solve my problem.

What is the meaning of two operators in a boolean statement:

boolean bool = A & lt; = B & amp; nbsp; Amp;


Comments