Heater is not turning off

float getTemperature()
{
  ktc;
}

What is this supposed to do ?

float highTargetTemperature = 40;
float lowTargetTemperature = 40;

Shouldn't these be different from each other ?