i'm 14 and i started to programming with arduino from 2 days and i have this problem for the first time...
the led remain turned on and don't have a state change can you help me please? thank you
int A;
int B;
int C;
int D;
int inputA;
int inputB;
int inputC;
int inputD;
int input;
void setup(){
 Serial.begin(9600);
 pinMode (2, OUTPUT);
 pinMode (3, OUTPUT);
 pinMode (4, OUTPUT);
 pinMode (5, OUTPUT);
 }
 void loop(){
  Serial.begin(9600);
  input=Serial.read();
  if(input == A);{digitalWrite(2, HIGH);}
  inputA = 1;
  if(input == B);{digitalWrite(3, HIGH);}
  inputB = 1;
  if(input == C);{digitalWrite(4, HIGH);}
  inputC = 1;
  if(input == D);{digitalWrite(5, HIGH);}
  inputD = 1;
  if(input == A and inputA == 1);{
   digitalWrite(2, LOW);
   inputA = 0;
   }
    if(input == B and inputB == 1);{
   digitalWrite(3, LOW);
   inputA = 0;
   }
    if(input == C and inputC == 1);{
   digitalWrite(4, LOW);
   inputC = 0;
   }
    if(input == D and inputA == D);{
   digitalWrite(5, LOW);
   inputD = 0;
   }
   }