[Solved]Write Function Called Shiftnums Test Function Calling Main Function Shiftnums Void Functio Q37152622

c++pleaseWrite a function called shiftNums. Then test your function by calling from main. The function shiftNums is a void function and. .takes 4 integer parameters. After the function is called, and returns back to the caller, the 4 integer parameter values are shifted over. So if the function is called: int x 6; int y 7; int w 11; rotate( x, y, z, w); xwill be 11 (it gets the last value), y wil be 6,2 will be 7 and w will be 9. Exercise #2: Use your menu game program that you have been building up all semester. Add the treasure game, the Psychic lab, the guessing game (covered in class), to the list of choices. So now your menu looks like this: Welcome Please choose a number from the following options: Madlibsl Choose your own Adventure! Psychic future! Find the Treasure! 1. 2. S. Guessing game! 6. Exit! played, the menu once again shows up on the screen. NOTE: ALL GAMES MUST BE İN FUNCTIONS!! The main program only has the menu in a loop! When a user chooses a menu option, a function that plays that game is called. After the game is Show transcribed image text Write a function called shiftNums. Then test your function by calling from main. The function shiftNums is a void function and. .takes 4 integer parameters. After the function is called, and returns back to the caller, the 4 integer parameter values are shifted over. So if the function is called: int x 6; int y 7; int w 11; rotate( x, y, z, w); xwill be 11 (it gets the last value), y wil be 6,2 will be 7 and w will be 9. Exercise #2: Use your menu game program that you have been building up all semester. Add the treasure game, the Psychic lab, the guessing game (covered in class), to the list of choices. So now your menu looks like this: Welcome Please choose a number from the following options: Madlibsl Choose your own Adventure! Psychic future! Find the Treasure! 1. 2. S. Guessing game! 6. Exit! played, the menu once again shows up on the screen. NOTE: ALL GAMES MUST BE İN FUNCTIONS!! The main program only has the menu in a loop! When a user chooses a menu option, a function that plays that game is called. After the game is
Expert Answer
Answer to Write a function called shiftNums. Then test your function by calling from main. The function shiftNums is a void functi… . . .
OR

