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, 23.06.2019 00:30
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
For a typical middle-income family, what is the estimated cost of raising a child to the age of 18? $145,500 $245,340 $304,340 $455,500
Answers: 2
question
Computers and Technology, 23.06.2019 04:00
Another name for addicting games.com
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
How much current flows through the alternator brushes? a. 2–5 a b. 25–35 a, depending on the vehicle c. 5–10 a d. 10–15 a
Answers: 2
You know the right answer?
You will be constructing a rock-paper-scissor computer simulator. the simulator will begin by prompt...
Questions
question
Arts, 16.11.2020 16:40