Help with a home automation system.

Ok guys and gals I need some help, I am trying to create a simple sorta home automation system and right now I am trying to make a form of a thermostat system. I have a arduino uno that running off a 12 volt power supply and I have tmp36 that is plugged into the system and then I have a relay that is controlling the computer fans, and 2 buttons that control the thermostat levels, and 2 LEDs that tell me if they the thermostat is incremented or decremented. The thermostat level works and the relay, and the temp sensor works, and the buttons work but the incrementor and decremtor don’t work in my program.
I have added my program and a screen capture of the serial monitor when the buttons are pressed so you can see that they are pressed, any help would be great, thanks.

int sensorPin = 0; 
int thermostat = 78;
int topButton = 7;
int bottomButton = 6;
const int ledBottom=3;
const int ledTop=2;
const int fan = 13;

void setup()
{
  Serial.begin(9600); 
  pinMode(fan,OUTPUT);   
  pinMode(topButton,INPUT);
  pinMode(bottomButton,INPUT);   
}
 
void loop()
{
digitalWrite(ledTop,LOW);
digitalWrite(ledBottom,LOW);

int reading = analogRead(sensorPin);  
int topValue = digitalRead(topButton);
int bottomValue = digitalRead(bottomButton);

float voltage = reading * 5.0;
voltage /= 1024.0; 

Serial.print(voltage); Serial.println(" volts");
float temperatureC = (voltage - 0.5) * 100 ;  
Serial.println(" ");
Serial.print(temperatureC); Serial.println(" degrees C");
float temperatureF = (temperatureC * 9.0 / 5.0) + 32.0;
Serial.println(" ");
Serial.print(temperatureF); Serial.println(" degrees F");

if(temperatureF >= thermostat)
{
  digitalWrite(fan,HIGH); 
}
else
{
  digitalWrite(fan,LOW); 
}

if(topValue == HIGH);
thermostat++;
Serial.println(" ");
Serial.println("thermostat"); Serial.println( thermostat);
if(bottomValue == HIGH);
thermostat--;
Serial.println(" ");
Serial.println("top button"); Serial.println(topValue);
Serial.println(" ");
Serial.println("bottom button"); Serial.println(bottomValue);
Serial.println(" ");
Serial.println("thermostat");Serial.println( thermostat);
Serial.println(" ");
delay(700);
}

1.PNG

Capture.PNG

if(topValue == HIGH);

if(bottomValue == HIGH);

Get rid of ;

Oh my gosh... It is crazy how two semi-colons can mess up your whole program. Thank you so very much!!! :D

Catches all of us now and then, well most of us.

void setup()
{
  Serial.begin(9600);
  pinMode(fan,OUTPUT);   
  pinMode(topButton,INPUT);
  pinMode(bottomButton,INPUT);   
}

Also, you forgot to set the pinmodes of some of the pins above.

Note: for analog inputs you do not need to set the pinmodes

default = input