hi cant compile this code any help?

char c;
void setup()
{
Serial.begin(9600);
}
void loop()
{
if(Serial.available()>0)
{
c=Serial.read();
if(c=='A')
{
delay(1000);
Serial.print("OK");
}
}
}

Moved your topic to it's current location / section as it is more suitable.

Could you take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

So what is the complete error (not just the last line) that you get? I guess it breaks its neck over

>

which is HTML; replace it by

>