Result of a Tic-Tac-Toe game

Report a typo

You need to write a program to display the resulting grid of a Tic-Tac-Toe game.

The grid is shown below.

O X X
O X O
X O X

Note, O is not a zero, it is a capital letter just like X.

Sample Input 1:

Sample Output 1:

O X X
O X O
X O X
Write a program in C++
#include <iostream>

int main(){

}

Create a free account to access the full topic