I wanted to make a Tic-Tac-Toe game and this is the part where I get the user to input what symbol he wants to use (X or O). I created the do while loop to ensure that the characters given will be X or O.
char symbol;
do
{
printf("Choose Symbol X/O: ");
scanf("%c", &symbol);
} while ((symbol != 'X') || (symbol != 'O'));