Error expected unqualified id before if....need help

Getting this error message that i cant seem to figure out.. anyone?

void setup() {
// put your setup code here, to run once:
Serial.begin(9600); //setup serial communication

}

void loop() {
// put your main code here, to run repeatedly:
float pH;

Serial.println("\nEnter a pH level");
while(Serial.available() <=0);
pH = Serial.parseFloat();
Serial.print("You entered a pH level of ");
Serial.print(pH);

if (pH <= 7)
{
if (pH == 7)
{
Serial.print("\nNeutral");
}
else if (pH > 2)
{
Serial.print("\nAcidic");
}
else (pH < 2);
{
Serial.print("\nVery Acidic");
}
}
}

if (pH > 7)
{
else if (pH > 12)
{
Serial.print("\nVery Alkaline");

else (pH < 12);
{
Serial.print("\nAlkaline");
}
}

}

If you had properly posted your code, it would have been a lot simpler to copy it to the IDE.

If you have properly indented your code, that would not have been necessary, since it would have been abundantly obvious what the problem is.

ALL code must be inside a function. Your sketch has code after the end of loop().

Use Tools + Auto Format.

Where does the loop() function end in your code ? As Paul says, it is obvious if you format your code correctly.