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

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:30
How are natural numbers, whole numbers, integers, and rational numbers related
Answers: 3
question
Computers and Technology, 22.06.2019 00:30
At an open or uncontrolled intersection, yield if a. the cross road has more lanes than yours b. the cross road has fewer land than yours c. you’re on a state highway and the cross road is a secondary road d. do you have three or more passengers in your vehicle
Answers: 2
question
Computers and Technology, 22.06.2019 08:00
What best describes a career pathway in a lodging career? a worker starts out as an amusement attendant, then becomes a recreation worker, and then becomes a gaming worker within five years. a worker starts out as a bell hop, then becomes a night clerk, and then becomes a hotel manager within five years. a worker starting out as a tour guide, then becomes a travel clerk, and then becomes a travel agent within five years. a worker starts out as a server, then becomes a food preparer, and then becomes a head chef within five years.
Answers: 1
question
Computers and Technology, 22.06.2019 09:50
Assume that you have an sorted array of records. assume that the length of the array (n) is known. give two different methods to search for a specific value in this array. you can use english or pseudo-code for your algorithm. what is the time complexity for each algorithm and why?
Answers: 1
You know the right answer?
You will be constructing a rock-paper-scissor computer simulator. the simulator will begin by prompt...
Questions
Questions on the website: 13722363