For example:
if (tempCalculate >= 66 && tempCalculate < 82)
{
int tempResult = 1;
return tempResult;
}
Is explicitly stating to check tempCalculate
on both ends of the AND gate necessary, or is there a way to tell the code to check it on both ends without re-stating it?