error: ISO C++ forbids comparison between pointer and integer [-fpermissive]

char myID, x;
  char Str0[3] = {'A','0'};
  char Str1[3] = {'A','1'};
  char Str2[3] = {'A','2'};
  char Str3[3] = {'A','3'};
  char Str4[3] = {'A','4'};
  char Str5[3] = {'A','5'};
  char Str6[3] = {'A','6'};
  char Str7[3] = {'A','7'};
  char Str8[3] = {'A','8'};
  char Str9[3] = {'A','9'};
  if (Serial.available() >0)
  {
  myID = Serial.read();
   if (myID == Str0) 
 {
  Serial.print(myID); // digit 0

  digitalWrite(2, HIGH);   // turn the LED on (HIGH is the voltage level)
                
  digitalWrite(3, HIGH);   // turn the LED on (HIGH is the voltage level)
  
  digitalWrite(4, HIGH);   // turn the LED on (HIGH is the voltage level)
  
  digitalWrite(5, HIGH);   // turn the LED on (HIGH is the voltage level)
  
  digitalWrite(6, HIGH);   // turn the LED on (HIGH is the voltage level)
  
  digitalWrite(7, HIGH);   // turn the LED on (HIGH is the voltage level)
  
  digitalWrite(8, LOW);   // turn the LED on (HIGH is the voltage level)
  delay(1000);
}

please help.

Is that really your whole program ?
I don't think so .....

@UKHeliBob the part where i wrote // digit 0 is repetitive and changes a little bit up till digit 9 so i don't think i needed to post it since its pretty much identical...

The snippet of code that you posted cannot be compiled so the error cannot be reproduced and investigated.

The only comparison in the snippet is
  if (myID == Str0) Is that the line causing the error ? You don't say. We do not know how or where any of the variables are declared and initialised so proving help is impossible.

myID == Str0

An integer being compared to a pointer.
What more do you need?