#define Button_blue 10
#define Button_green 11
#define Button_red 12
#define Led_blue 7
#define Led_green 8
#define Led_red 9
int i,o,p;
void setup()
 {
  Serial.begin(9600);
  pinMode(Led_blue , OUTPUT);
  pinMode(Led_green , OUTPUT);
  pinMode(Led_red , OUTPUT);
  pinMode(Button_blue , INPUT_PULLUP);
  pinMode(Button_green, INPUT_PULLUP);
  pinMode(Button_red , INPUT_PULLUP);
  Serial.println("CLick The Button");
}

void loop()
 {
i=digitalRead(Button_blue);
if (i==0)
{
  digitalWrite(7,1);
  Serial.println("Led blue 0ff ");
}
else
{
  digitalWrite(7,0);
  Serial.println("Led blue on");
  delay(500);
}
o=digitalRead(Button_green);
if (o==0)
{
  digitalWrite(8,1);
  Serial.println("Led green 0ff ");
}
else 
{
 digitalWrite(8,0);
  Serial.println("Led green on"); 
  delay(500);
}
p=digitalRead(Button_red);
if (p==0)
{
   digitalWrite(9,1);
  Serial.println("Led red 0ff ");
}
else
{
  digitalWrite(9,0);
  Serial.println("Led red on");  

  delay(500);
}
}