Question: Using C++ function to write a program. requirements show below: Function 1 Name it ShowMenu. The menu should display the following: Choose your favorite color
Using C++ function to write a program. requirements show below: 

Function 1 Name it ShowMenu. The menu should display the following: Choose your favorite color from the following: A. Red B. Green C. Blue D. Yellow E. Plaid A, B, C, D, or E, please Put the menu in a do while loop to force the user to enter A, B, C, D, or E After the loop while still in the ShowMenu function, pass the choice into the next function, named TellMeYourColor. The statement might look something like: TellMeYour Color (choice); This assumes you named your char variable choice in the ShowMenu function. Function 2 Name it TellMeYourColor. It will have a char parameter. This function will simply tell which color the user chose from the ShowMenu function. (Highly conducive to a switch structure.) If you want to try to use the lolower or toupper functions, you'll need to include the cctype header. This is not a requirement! Before int main, have the following two function prototypes: void ShowMenu
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
