1. Write method print that will take a two dimensional character array as input, and print the content of the array. This two dimensional character array represents a Tic Tac Toe game.
2. Write main method that creates several arrays and calls the print method. Below is an example of my main method:
System.out.println("First Tic Tac Toe: " );
char[][] ttt1 = {
{'X','O','X'},
{'0','O','X'},
{'X','X','O'}};
print(ttt1);
System.out.println("Second Tic Tac Toe: " );
char[][] ttt2 = {
{'O','O','X'},
{'0','O','X'},
{'X','X','O'}};
print(ttt2);
3. Create zip file that contains your Java programs. Include a screenshot of each program execution. You can either paste the screenshot into a Word document or simply paste it into the Comments field when submitting your homework. A sample screenshot of running my programs is attached below: