Question: ( 3 ) Implement the execute _ menu ( ) function that takes 2 parameters: a character representing the user's choice and the user provided
Implement the executemenu function that takes parameters: a character representing the user's choice and the user provided sample text. executemenu performs the menu options, according to the user's choice, by calling the appropriate functions described below. pt
In the main program, call printmenu and prompt for the user's choice of menu options for analyzingediting the string. Each option is represented by a single character.
If an invalid character is entered, continue to prompt for a valid choice. When a valid option is entered, execute the option by calling executemenu Then, print the menu and prompt for a new option. Continue until the user enters q Hint: Implement Quit before implementing other options. pt
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
