//Enrico William A. Sihotang__COURSERA_Week 1 
const int buttonPinA = 2;  
const int buttonPinB = 3;  
const int ledPin = 13;    

void setup() {
  pinMode(buttonPinA, INPUT);
  pinMode(buttonPinB, INPUT);
  pinMode(ledPin, OUTPUT);
}

void loop() {
  // Membaca status push button A
  int buttonStateA = digitalRead(buttonPinA);

  // Membaca status push button B
  int buttonStateB = digitalRead(buttonPinB);

  // Menyalakan LED jika push button A atau B ditekan
  if (buttonStateA == HIGH || buttonStateB == HIGH) {
    digitalWrite(ledPin, HIGH);
  } 
  // Mematikan LED jika tidak ada push button yang ditekan
  else {
    digitalWrite(ledPin, LOW);
  }
}
$abcdeabcde151015202530354045505560fghijfghij