the output pins are not effected by serial reading

mohammed-ali:
i tried this code but i got error ( invalid conversion from 'char' to 'const char*')
can you tell me what is my mistake ?

void loop()

{
while (Serial.available())
  {
   char a = Serial.read();
  int angle = atoi(a);
    Serial.print(angle);