Question: Program Language C++ 1) Don't use a define, printf P lease design and then code the following menu-driven program. The Name Game: 1. Input Full
Program Language C++
1) Don't use a define, printf P
lease design and then code the following menu-driven program.
The Name Game:
1. Input Full Name
2. Display Name
3. Change my Name to all Lower Case.
4. Count and display the number of words in name
5. Reverse the Name
6. Display Most Frequent Character
7. Exit Menu
Programming Rules: Declare a character array in main. Use a separate function for each menu item. Pass the name around to each function. Use the C-string functions to manipulate the name. Validate Input Full Name for not empty. Keep offering the menu until they choose quit. Appropriate use of functions required - no global variables - good programming style throughout.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
