A22.0002 - ASSIGNMENT 4


Write a program to display the fianl board after a game of Tic Tac Dough. The display will print out the Xs and the Os and the vertical lines ('|') and the horizontal lines ('-'). The input is given as a line of 9 characters that represent the Xs and the Os going left to right, line-by-line.

Ex:

   Enter game symbols: XOXOXOXXO

    X | O | X
   -----------
    O | X | O
   -----------
    X | X | 0
Notes :