/* CH8A.C */ /* Interprets lines of A's and B's */ #include main () { /* Description ...... Open input file Read first character WHILE not at end of file WHILE not at end of line IF character = A Display X ELSE Display a space Read next character Read past newline and read 1st character on next line Display end of line (move to next line in output) Close input file */ /* variable declarations */ }