Lab 5: Functions: Tic-Tac-Toe

You have been given the code for the 2 player game of Tic-Tac-Toe that is entirely in main

Follow the steps to complete the lab:

Step 0: (Point 0) Change the program below so that it no longer uses

global variables to represent the board (the variables should be declared in main)

Step 1: (Point 1) Write the function displayBoard() it should take the board variables and display the board

Step 2: (Point 1) Write the function makeMove() which allows the user to make a move

Step 3: (Extra credit Points 1) Write a checkBoard() function that checks for win after every turn