Question: how to write a code of this question Q6) Write a main function that displays a menu for the user and asks him to select

how to write a code of this question

how to write a code of this question Q6) Write a main

Q6) Write a main function that displays a menu for the user and asks him to select which function he/she wants to test. Here is a sample output of the main function [20 Points] press 'p' to print the tic-tac-toe board press 'c to create a tic-tac-toe board with some X and 0 cells press t' to test if a tic-tac-toe board is valid or invalid board press 'w' to predict winning cell for player X or o press 'e' to Exit 1 2 9 press 'p' to print the tic-tac-toe board press 'c' to create a tic-tac-toe board with some X and 0 cells press t' to test if a tic-tac-toe board is valid or invalid board press 'w' to predict winning cell for player X or o press 'e' to Exit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!