Game: Rock, Scissors, Paper.RAR

Game: Rock, Scissors, Paper

Write a program that plays the popular scissor-rock-paper
game. The program randomly generates a number 0, 1, or 2 representingscissor,rock, and paper. The program prompts the user to enter anumber 0, 1,or 2 and displays a message indicating whether the user orthe computer wins or draws. Note that a scissor can cut a paper, a rockcan knock a scissor, and a paper can wrap a rock.
Powered by