subject

The client wants you to write a rock-paper-scissors game that can be played with the computer. A game of rock-paper-scissors consists of three rounds. A player is declared the winner if they win 2 of the 3 rounds. The computer plays by generating a random number from 0-3 where 0 is rock, 1 is paper, and 2 is scissors. For each round, the program should prompt the user for their choice and print out the winner of the round. At the end of the three rounds, the program should print out how many rounds the player and the computer won, and indicate who the winner of the game is.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:30
Who can provide you with a new password when you have forgotten your old one? your provide you with a new password in case you forget your old one.
Answers: 3
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
question
Computers and Technology, 23.06.2019 23:40
Which of the following calculates the total from the adjacent cell through the first nonnumeric cell by default, using the sum function in its formula? -average -autosum -counta -max
Answers: 1
question
Computers and Technology, 24.06.2019 02:10
Consider the usual algorithm to convert an infix expression to a postfix expression. suppose that you have read 10 input characters during a conversion and that the stack now contains these symbols: (5 points) | | | + | | ( | bottom |_*_| now, suppose that you read and process the 11th symbol of the input. draw the stack for the case where the 11th symbol is
Answers: 2
You know the right answer?
The client wants you to write a rock-paper-scissors game that can be played with the computer. A gam...
Questions
question
Mathematics, 21.06.2020 02:57