Essentially I'm required to write a program which scans a tic-tac-toe board with the following input.
2 1 0
1 1 0
2 0 2
and gives the following output:
. X 0
X X 0
. 0 .
Where I'm stuck is how do I receive multiple lines of input with scanf? Any words of advice would be appreciated.