![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 26.08.2020 18:01 tony7135
(Game: scissor, rock, paper) Write a program that plays the popular scissor-rockpaper 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. Here are sample runs: scissor (0), rock (1), paper (2): 1
The computer is scissor. You are rock. You won scissor (0), rock (1), paper (2): 2
The computer is paper. You are paper too. It is a draw
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 14:30
What percentage of companies is projected to use social media to locate new employees in 2012
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 00:30
Knowing that the central portion of link bd has a uniform cross sectional area of 800 mm2 , determine the magnitude of the load p for which the normal stress in link bd is 50 mpa. (hint: link bd is a two-force member.) ans: p = 62.7 kn
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 10:50
The volume v and paper surface area a of a conical paper cup are given by where r is the radius of the base of the cone and h is the height of the cone. a. by eliminating h, obtain the expression for a as a function of r and v. b. create a user-de ned function that accepts r as the only argument and computes a for a given value of v. declare v to be global within the function. c. for v ! 10 in.3 , use the function with the fminbnd function to compute the value of r that minimizes the area a. what is the corresponding value of the height h? investigate the sensitivity of the solution by plotting v versus r. how much can r vary about its optimal value before the area increases 10 percent above its minimum value?
Answers: 1
You know the right answer?
(Game: scissor, rock, paper) Write a program that plays the popular scissor-rockpaper game. (A sciss...
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/User.png)
SAT, 27.12.2021 23:10
![question](/tpl/images/cats/biologiya.png)
Biology, 27.12.2021 23:10
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/User.png)
SAT, 27.12.2021 23:10
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 27.12.2021 23:10
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 27.12.2021 23:20
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 27.12.2021 23:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 27.12.2021 23:20
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/en.png)
English, 27.12.2021 23:20
![question](/tpl/images/cats/istoriya.png)