Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Use the Java API to look up class Math and use its functions as indicated 1) Cre

ID: 3539495 • Letter: U

Question

Use the Java API to look up class Math and use its functions as indicated

1) Create a simple tic-tac-toe game. Create a double array (2 dimensional array) of type char to store the state of the tic-tac-toe board. Use JOptionPane to ask the user to pick a square. The input should be a single digit 1 for the top left corner 2 for top center square 3 for top right square, etc. Use a loop to keep asking for the next move until the board is filled. Do not worry about checking who won. If the user inputs a square that has already been picked, the user should be prompted for a different square. After each move, print out the current state of the board to the console. THINK ABOUT how you would check after each move if the game has been won. Call this class TTT1 or TicTacToe1.

Explanation / Answer

hey! I can help you out in this programming question and others if you just add me on skype...my skype id is mohammad.sarmad.junaid...