Write a program to play the rock-paper-scissors game. The player will type in R,
ID: 3558748 • Letter: W
Question
Write a program to play the rock-paper-scissors game. The player will type in R,P, or S. The program then announces the winner as well as the basis for determining the winner: paper covers rock, rock breaks scissors, scissors cuts paper, or nobody wins.
Your program will have one player playing agains the computer
Your program will generate a random value to represent rocks, paper or scissors
The player will enter P, R or S or p,r, or s
The player input will be compared to the randomly generated value or the computer
Your program will output the appropriate message
Explanation / Answer
}