Demonstration code for several things at the same time

For all these, you could simplify some:

void updatedegrees_25()
{
if (degrees_25 == LOW)
{
if (sensorValue > 49 && sensorValue <= 52)//25
degrees_25 == HIGH;
~~ }~~
~~ if (degrees_25 == HIGH)~~
~~ {~~ digitalWrite(ledPin1, HIGH);
digitalWrite(ledPin2, HIGH);
digitalWrite(ledPin3, LOW);
digitalWrite(ledPin4, LOW);
digitalWrite(ledPin5, HIGH);
}

}

What makes degrees_25 and the others Low again to allow another reading?