Question: Q2. (10 pts) Write a program to score the paper-rock-scissor game. A player will play against the computer. The player enters a types in either

 Q2. (10 pts) Write a program to score the paper-rock-scissor game.

Q2. (10 pts) Write a program to score the paper-rock-scissor game. A player will play against the computer. The player enters a types in either P,R or S. Computer randomly selects paper, rock, or scissor. The program calls function FindWinner to announces the winner For determining the winner: Paper covers rock, Rock breaks scissors, Scissors cut paper, or it is a tie. Be sure to allow the users to use lower case as well as uppercase letters. Your program should include a loop that lets the user play again until the user says she or he is done

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!