I need "or" command

Hello. I made a sensor with ldr. I also used a 7 segment display. I want to determine levels and when light level is about this level, “1” will be appear on display. For exaple: When light level is among 400-600, “5” appears on display. Sorry for my English. Let me write codes:

  int e = 3;
  int g = 2;
  int d = 5;
  int f = 4;
  int c = 6;
  int a = 7;
  int dot = 8;
  int b = 9;
  int LDR_Pin = A0;
  int led = 11;

  
void setup() {
  pinMode(a, OUTPUT);
  pinMode(b, OUTPUT);
  pinMode(c, OUTPUT);
  pinMode(d, OUTPUT);
  pinMode(e, OUTPUT);
  pinMode(f, OUTPUT);
  pinMode(g, OUTPUT);
  pinMode(dot, OUTPUT);
  Serial.begin(9600);
}

void loop() {
  int LDRReading = analogRead(LDR_Pin);
  Serial.println(LDRReading);
  delay(100);
  if(LDRReading<=30){ // 1
    digitalWrite(a, 1);
    digitalWrite(b, 0);
    digitalWrite(c, 0);
    digitalWrite(d, 1);
    digitalWrite(e, 1);
    digitalWrite(f, 1);
    digitalWrite(g, 1);
  }
  if(LDRReading<=80||LDRReading>30){ // 2
    digitalWrite(a, 0);
    digitalWrite(b, 0);
    digitalWrite(c, 1);
    digitalWrite(d, 0);
    digitalWrite(e, 0);
    digitalWrite(f, 1);
    digitalWrite(g, 0);
  }
  
  if(LDRReading<=250||LDRReading>80){ // 3
    digitalWrite(a, 0);
    digitalWrite(b, 0);
    digitalWrite(c, 0);
    digitalWrite(d, 0);
    digitalWrite(e, 1);
    digitalWrite(f, 1);
    digitalWrite(g, 0);
  }
  if(LDRReading<=400||LDRReading>250){ // 4
    digitalWrite(a, 1);
    digitalWrite(b, 0);
    digitalWrite(c, 0);
    digitalWrite(d, 1);
    digitalWrite(e, 1);
    digitalWrite(f, 0);
    digitalWrite(g, 0);
  }
  if(LDRReading<=600||LDRReading>400){ // 5
    digitalWrite(a, 0);
    digitalWrite(b, 1);
    digitalWrite(c, 0);
    digitalWrite(d, 0);
    digitalWrite(e, 1);
    digitalWrite(f, 0);
    digitalWrite(g, 0);
  }
  if(LDRReading<=750||LDRReading>600){ // 6
    digitalWrite(a, 0);
    digitalWrite(b, 1);
    digitalWrite(c, 0);
    digitalWrite(d, 0);
    digitalWrite(e, 0);
    digitalWrite(f, 0);
    digitalWrite(g, 0);
  }
  if(LDRReading<=850||LDRReading>750){ // 7
    digitalWrite(a, 0);
    digitalWrite(b, 0);
    digitalWrite(c, 0);
    digitalWrite(d, 1);
    digitalWrite(e, 1);
    digitalWrite(f, 1);
    digitalWrite(g, 1);
  }
   if(LDRReading<=1000||LDRReading>850){ // 8
    digitalWrite(a, 0);
    digitalWrite(b, 0);
    digitalWrite(c, 0);
    digitalWrite(d, 0);
    digitalWrite(e, 0);
    digitalWrite(f, 0);
    digitalWrite(g, 0);
  }
  if(LDRReading>1000){ // 9
    digitalWrite(a, 0);
    digitalWrite(b, 0);
    digitalWrite(c, 0);
    digitalWrite(d, 1);
    digitalWrite(e, 1);
    digitalWrite(f, 0);
    digitalWrite(g, 0);
  } 
  

}

There is no error in these codes. But it doesn’t work as i want. I hope you understand what i ask. If you didn’t understand what i want to say, please say me code that means “or”.
For example: x<50 “or” x>10

NOTE: There is no problem with display and its codes. I have made work it.

Have you thought of trying "or"?
Or did you mean "and"?
Or using code tags?

See this page.

Add "else" in front of all if's but the first and last.

I want that:

if LDRReading is more than 400 (LDRReading>400) and LDRReading is less than 600 (LDRReading<600)

{
digitalWrite…
}

And I’m sorry. I need “and” code. Not “or”.

Ok, now go back and change the incorrect “quote” tags to “code” on your first post.

Hey. Thanks everbody. I probably find what i want. And sharing :