Difficulty with coding an LED temperature indicator.

Sorry if this seems glaringly obvious to some, I’m new to arduino.
I’m using a TMP36 sensor and had it converting voltage to temperature completely fine, however when I attempted to add an LED indicator component I began getting many error messages even on my original functioning code, despite the fact that I used code for the LED indicators off a tutorial on this site with many positive reviews. I imagine I’m combining the two codes incorrectly as I have never combined two codes before. Anything helps, thanks so much.
My code is as follows:

const int temperaturePin = 0;
const int hot = 87;
const int cold = 65;
void setup() {
pinMode (A0, INPUT);
pinMode(2, OUTPUT); //blue
pinMode(3, OUTPUT); //green
pinMode(4, OUTPUT); //red
Serial.begin(9600); 3
;}
void loop() {
float voltage, degreesC, degreesF;
float getVoltage(int pin);
voltage = getVoltage(temperaturePin);
degreesC = (voltage - 0.5) * 100.0;
degreesF = degreesC * (9.0/5.0) + 32.0;
Serial.print(“voltage: “);
Serial.print(voltage);
Serial.print(” degC: “);
Serial.print(degreesC);
Serial.print(” deg F: “);
Serial.println(degreesF);
delay(1000);
if (degreesF < cold) { //cold
digitalWrite(2, HIGH);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
Serial.println(” It’s Cold. “)
;}
else if (degreesF >= hot) { //hot
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, HIGH);
Serial.println(” It’s Hot.”);
}
else { //fine
digitalWrite(2, LOW);
digitalWrite(3, HIGH);
digitalWrite(4, LOW);
Serial.println(" It’s fine. ")
;}

}

{
return (analogRead(A0) * 0.004882814);
}

Serial.begin(9600); 3
;}

Why 3?

Why:
{
return (analogRead(A0) * 0.004882814);
}

Use CTRL T to format your code.
Attach your ‘complete’ sketch between code tags, use the </> icon in the posting menu.
[code]Paste your sketch here[/code]

So sorry about this, this is also my first time using the forum, however when I attempted to do what you suggested. Sorry if this is not right.
[
const int temperaturePin = 0;
const int hot = 87;
const int cold = 65;
void setup() {
pinMode (A0, INPUT);
pinMode(2, OUTPUT); //blue
pinMode(3, OUTPUT); //green
pinMode(4, OUTPUT); //red
Serial.begin(9600);
;
}
void loop() {
float voltage, degreesC, degreesF;
float getVoltage(int pin);
voltage = getVoltage(temperaturePin);
degreesC = (voltage - 0.5) * 100.0;
degreesF = degreesC * (9.0 / 5.0) + 32.0;
Serial.print(“voltage: “);
Serial.print(voltage);
Serial.print(” degC: “);
Serial.print(degreesC);
Serial.print(” deg F: “);
Serial.println(degreesF);
delay(1000);
if (degreesF < cold) { //cold
digitalWrite(2, HIGH);
digitalWrite(3, LOW);
digitalWrite(4, LOW);
Serial.println(” It’s Cold. “)
;
}
else if (degreesF >= hot) { //hot
digitalWrite(2, LOW);
digitalWrite(3, LOW);
digitalWrite(4, HIGH);
Serial.println(” It’s Hot.”);
}
else { //fine
digitalWrite(2, LOW);
digitalWrite(3, HIGH);
digitalWrite(4, LOW);
Serial.println(" It’s fine. ")
;
}
}
]

You have extra semicolons ; where they're not needed and that's not easy to spot because of your habit of putting semicolons on a following line instead of at the end of the line they belong to.

What is 'float getVoltage(int pin);' intended to do? If it's a function prototype it's in a strange place and I can't see the actual getVoltage() function code anywhere (unless that's what the 'return (analogRead(A0) * 0.004882814);' was supposed to be or be part of.

It might be easier if you posted the two separate codes that you are trying to combine so we could see what has gone wrong/missing.

Steve