Please help with IF , ELSE, where the mistake?

Please help with IF , ELSE, where the mistake?
:~ :~

if (tempc1 >= 25)
{
digitalWrite(12, HIGH);
digitalWrite(11, LOW);
}

else
{
digitalWrite(11, HIGH);
digitalWrite(12, LOW) ;
}
if (tempc2 >= 25)
{
digitalWrite(10, HIGH);
digitalWrite(9, LOW);
}
else
{
digitalWrite(9, HIGH);
digitalWrite(10, LOW);
}

What error are you getting?
What are you trying to do?

Post the other code(entire sketch)... the problem's cause may be elsewhere.