Confused about IF statements with my proximity sensor project

hey guys, i’m trying to use if/else if for four different options when reading distance on my proximity sensor onto my LCD display, but it is only cycling between the first two options. I’ll put my code here, you’ll see i want it to print 4 different texts depending on how far my proximity sensor is sensing something, and if i have it even 300 cm away, it will only read OK.

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// set the LCD address to 0x38 for a 16 chars and 2 line
//display
LiquidCrystal_I2C lcd(0x38, 16, 2);
int pingPin = 11;
int echoPin = 10;
//
void setup()
{
lcd.init(); //initialize the lcd
lcd.backlight(); //open the backlight
pinMode(pingPin, OUTPUT);
pinMode(echoPin, INPUT);
}
/
/
void loop()
{
Serial.begin(9600);
long duration, inches, cm;
digitalWrite(pingPin, LOW);
delayMicroseconds(2);
digitalWrite(pingPin, HIGH);
delayMicroseconds(5);
digitalWrite(pingPin, LOW);
duration = pulseIn(echoPin, HIGH);
cm = microsecondsToCentimeters(duration);
Serial.println(cm);
if ( cm <= 30)
{ lcd.setCursor(0, 0);
lcd.print(“TOO CLOSE”);
}
else if (30 < cm <= 60)
{ lcd.setCursor(0, 0);
lcd.print(“OK”);
}
else if (60 < cm <= 90)
{ lcd.setCursor(0, 0);
lcd.print(“TOO FAR”);
}
else if (cm > 90)
{ lcd.setCursor(0, 0);
lcd.print(“INFINITY”);
}

delay(1000);
}
long microsecondsToInches(long microseconds)
{
return microseconds / 74 / 2;
}
long microsecondsToCentimeters(long microseconds)
{
return microseconds / 29 / 2;
}

if (30 < cm && cm <= 60) etc

Please remember to use code tags when posting code.

eyy thanks my dude, and also thanks for the headsup about code tags, first post.