Question: Create a full program that will simulate a Rock Paper Scissors GameYou will create the code so that when the program is run the user

Create a full program that will simulate a Rock Paper Scissors GameYou will create the code so that when the program is run the user will see in the console the following:We are going to play a game of rock paper scissors.Please choose 1 for Rock 2 for Paper or 3 for scissors.The program will have yourChoice which is the integer valued typed in by the user and compChoice which will be the randomly generated value of either 1 2 or 3. You will test all the ways the user wins if the user beats the computer using || with if and then you will check all the ways that the computer could win using else if with || and lastly the only other thing that can happen would be a tie if both choices are the same for the default else.Display what was chosen by the user and what was randomly chosen by computer. Display who wins or if there is a tie.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!