I have a COMPSCI C++ HW and I cant really figuer out how to do it can someone pl
ID: 3565898 • Letter: I
Question
I have a COMPSCI C++ HW and I cant really figuer out how to do it can someone please help.
Ask the user for a number between 3 and 9 (inclusive). USING LOOPS, create a tic-tac-toe board with the dimensions the user entered. Alternate "X" and "O". Follow the examples below.
Please enter a number between 3 and 9: 13
Please follow the directions!
Please enter a number between 3 and 9: 3
X|O|X
-|-|-
O|X|O
-|-|-
X|O|X
Note that the start switches between X and O each new line that for me was the tricky part.