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. 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
Get step-by-step solutions from verified subject matter experts
