Computers and Technology

Game: scissor, rock, paper. Write a program that plays the scissor-rock-paper game. A scissor can cut a paper, a rock can knock a scissor, and a paper can wrap a rock. The program randomly generates a number 0, 1, or 2 representing scissor, rock, and paper. The program prompts the user to enter a number 0, 1, or 2 and displays a message indicating whether the user or the computer wins, loses, or draws. Use: 1.The Scanner Class 2.Switch Statement 3.if else if else Statements 4.Math class 5.IntelliJ as the IDE

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 18:40, jennsou
Adna sequence encoding a five-amino acid polypeptide is given below. …… …… locate the sequence encoding the five amino acids of the polypeptide, and identify the template and coding strand.
Answers: 1
image
Computers and Technology, 22.06.2019 22:00, bbysl15
What is the name of the option in most presentation applications with which you can modify slide elements? 1. the option enables you to modify a slide element in most presentation applications.
Answers: 3
image
Computers and Technology, 23.06.2019 07:30, emilyplays474
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
image
Computers and Technology, 24.06.2019 02:40, homework1911
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
Do you know the correct answer?
Game: scissor, rock, paper. Write a program that plays the scissor-rock-paper game. A scissor can cu...

Questions in other subjects:

Konu
Mathematics, 29.04.2021 18:50
Konu
Mathematics, 29.04.2021 18:50