Help with IF and Else

GoForSmoke:
Your code has no hole but the if(tempC<=20) isn't needed since everything not >= 21 must be < 21 (<= 20).
The compiler very likely does not code the second if().

What if tempC is between 20 and 21, such as 20.5? It's a float variable, after all.