Rules for rock, paper, scissors: rock beats scissors, paper beats rock, scissors
ID: 3643957 • Letter: R
Question
Rules for rock, paper, scissors: rock beats scissors, paper beats rock, scissors beats paper.Write a while loop. Each time it runs, it asks player 1 to enter R, P, or S (for rock, paper or scissors), then asks player 2 the same thing. Declare a winner for the game and ask player 1 if she wants to play again. If input is Y, then run the loop again, else, exit the loop. After the loop, display how many games each player won and declare which player won the most games, or if it was a tie. Note: do not ask players for their names; simply refer to