subject

You will be constructing a rock-paper-scissor computer simulator. the simulator will begin by prompting the user for their name. the simulator will then prompt the user to choose either "rock", "paper", or "scissors" (as a string). hint: the string will need to be converted into a comparable value. the simulator will then randomly choose rock, paper, or scissors. finally, the simulator will compare the user choice and the random simulator choice, then it will display the winner. if the player wins output "winner: player". if the simulator wins output "winner: computer". if the result is a draw the computer wins. use a seed of 22 for the random generator. note make sure to use case rock, then paper, then scissors in your code

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 03:30, 890777
In vista and windows 7, the appearance and personalization option allows you to change the
Answers: 1
image
Computers and Technology, 23.06.2019 13:50, mrfishyyyy
Explain how email technologies enable the exchange of messages between users. find out the typical parts of an email address and explain each part.
Answers: 1
image
Computers and Technology, 23.06.2019 18:30, bsept1018
Report all segments of identity by descent longer than 20 polymorphisms between pairs of individuals in the following cohort of 15 individuals across 49 polymorphisms: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 numeric input 2 points possible (graded) you have 2 attempts to complete the assignment below. for example if the sequence is "bcd", which occurs in "abcdef" , the starting point would be 2 (b), and the finishing point would be 4(d). individuals 7,10 between positions
Answers: 1
image
Computers and Technology, 24.06.2019 07:20, djs1002
Ingrid started speaking about her slide presentation. when she clicked to th"third slide, which had just a picture of an elephant, she forgot what she wassupposed to talk about. what could ingrid do to avoid this situation in thefuture? oa. print handouts for her audience. ob. add presenter's notes to each slide. oc. add a video to each slide. od. save her slide presentation to a flash drive
Answers: 2
You know the right answer?
You will be constructing a rock-paper-scissor computer simulator. the simulator will begin by prompt...

Questions in other subjects:

Konu
Mathematics, 07.05.2021 15:30
Konu
Social Studies, 07.05.2021 15:30
Konu
History, 07.05.2021 15:30
Konu
Mathematics, 07.05.2021 15:30
Konu
Mathematics, 07.05.2021 15:30