Question: Hello, I need help on this program. Can we use the C++ for the program As you probably have noticed. your source code for Marcus
Hello, I need help on this program. Can we use the C++ for the program

As you probably have noticed. your source code for Marcus from Chapters 7 and 8 is getting more than a little messy. Break the solution you previously created into the following functions. - Name: GetData - Parameters: none - Return: The integer number entered by the user. - Purpose: This function would allow the user to enter the number to be tested. Marcus would like you to limit the input from negative one million to positive one million. If the number entered is out of bounds, display an error message and have the user re-enter the value. - Name: DisplayMenu - Parameters: - The variable that holds the menu choice. Pass by reference. - Return: none - Purpose: This function displays the menu to the user. - Name: ProcessMenuChoice - Parameters: - The variable that holds the menu choice. Pass by value. - The variable that holds the number entered. Pass by reference. - Return: none - Purpose: This function will call the appropriate function based upon the menu choice that is passed in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
