void setup()
{
  Serial.begin(9600);
  pinMode(3, OUTPUT);
  pinMode(4, OUTPUT);
  pinMode(A0, INPUT);
}
void loop(){
  int ldr=analogRead(A0);
  if(ldr<=200)
  {
    digitalWrite(3, HIGH);
    Serial.print( "Hello Varam ,turn on the led : ");
    Serial.println(ldr);

  }
  else if(200<=ldr<=400){
    digitalWrite(4, HIGH);
    Serial.print("hello varam,turn on the led2:");
    Serial.println(ldr);
  }
  
  else
  {
    digitalWrite(3, LOW);
    Serial.print("Hello Varam ,turn off the led: ");
    Serial.println(ldr);
  }
}