1. Write an Arduino program using the IF / ELSE statement to turn an LED at pin 3 on when a pushbutton connected at pin 9 similar to Fig. 1 is pressed. And the LED is off if the pushbutton is not pressed.
2. Write an Arduino program using the IF / ELSE IF statement to turn an LED at pin 5 on when a pushbutton connected at pin 11 similar to Fig. 1 is pressed. And the LED is off if the pushbutton is not pressed.