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

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
Get step-by-step solutions from verified subject matter experts
