SOLVED:Game: Rock, Scissors, Paper

20.00 $

Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: . rar solution files instantly, after Payment


5/5 - (3 votes)

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.

  • RoShamboo.rar