Computers and Technology, 21.01.2020 03:31 allisondelp6
Write a program that lets the user play the game of rock, paper, scissors against the computer. the program should work as follows. 1. when the program begins, a random number is ranged of 1 through 3 is generated. if the number is 1, then the computer has chosen rock. if the number is 2, then the computer has chosen paper, if the number is 3, then the computer has chosen scissors. (donât display the computerâs choice yet.) 2. the user enters his or her choice of "rock", "paper", or "scissors" at the key-board. (you can use a menu if you prefer.) 3. the computerâs choice is displayed. 4. a winner is selected according to the following rules: ï· if one player chooses rock and the other player chooses scissors, then rock wins. (the rock smashes the scissors.) ï· if one player chooses scissors and the other player chooses paper, then scissors wins. (scissors cuts paper.) ï· if one player chooses paper and the other player chooses rock, then paper wins. (paper wraps rock.) ï· if both players make the same choice, the game must be played again to determine the winner. 5. be sure and use a looping structure so that the game can be played multiple times. keep track of number of wins by player and computer so you can display that as the games progress
Answers: 2
Computers and Technology, 23.06.2019 16:30
Which of the following is not an enhancement to the standard wiki to make it more attractive for corporations? encryptionwork spacespermission toolspredictive text
Answers: 2
Computers and Technology, 23.06.2019 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
Computers and Technology, 23.06.2019 20:30
What is the biggest difference between section breaks and regular page breaks
Answers: 1
Write a program that lets the user play the game of rock, paper, scissors against the computer. the...
Spanish, 22.10.2019 04:20
Mathematics, 22.10.2019 04:20
Biology, 22.10.2019 04:20
Biology, 22.10.2019 04:20
Mathematics, 22.10.2019 04:20
English, 22.10.2019 04:20
Geography, 22.10.2019 04:20
English, 22.10.2019 04:20
Mathematics, 22.10.2019 04:20
Mathematics, 22.10.2019 04:20
Biology, 22.10.2019 04:20
Mathematics, 22.10.2019 04:20