Question: Need c++ code for this assignment. Rock Paper Scissors game. I also need the pseudocode for this as well. (Rock, Paper, Scissors Game-Page 373) This
(Rock, Paper, Scissors Game-Page 373) This programming assignment is from the textbook with some slight modifications and clarifications Here is what I am going to except from you. Your program should include at least the following functions: getComputerGuess0: this function should return a random value generated by the computer using rand function (read more about random numbers in Chapter 3 pages 126 128) getUsersChoice): this function will ask the user to enter a choice using a menu. It then returns the user's selected choice Here is the menu: "1) Rock 2)Paper 3) Scissors 4) Quit" You should allow the game to keep playing until the user decides to quit, that's when the user chooses 4 from the menu. findTheWinner(int, int): this function has two parameters (one is the user's choice and the other one is the computer's randomly generated choice). Based on the passed arguments the function should display the user's choice, the computer's choice and the winner
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
