Code simplify problem

How can I simplify a code like this

int LED_pin_1 = 1;
int LED_pin_2 = 2;
int LED_pin_3 = 3;
int button_1 = 4;
int button_2 = 5;
int button_3 =6;

void setup(){
  pinMode(LED_pin_1,INPUT);
  pinMode(LED_pin_2,INPUT);
  pinMode(LED_pin_3,INPUT);
}

void loop(){

  if(digitalRead(button_1)==HIGH){
    digitalWrite(LED_pin_1,HIGH)
  }
  if(digitalRead(button_2)==HIGH){
    digitalWrite(LED_pin_2,HIGH)
  }
  if(digitalRead(button_3)==HIGH){
    digitalWrite(LED_pin_3,HIGH)
  }
}

How can the similar parts be simplified? Thanks

tmps99308091:
How can the similar parts be simplified? Thanks

You can use arrays to shorten the code

...R

int LED_pin_1 = 1;

One thing to look out for is that pin 1 is used by the hardware Serial interface and unless you know exactly what you are doing then using it for other purposes is best avoided.