subject

1. first the program should call a function named getcomputerchoice to get the computer's choice in the game. the getcomputerchoice function should generate a random number between 1 and 3. if the random number is 1 the computer has chosen rock, if the random number is 2 the user has chosen paper, and if the random number is 3 the computer has chosen scissors. (hint: return an int from this function and make the function have no arguments). this function is required to be a value returning function (do not make a void function).

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:30
Select the correct answer from each drop-down menu. which types of computer networks are bigger as well as smaller than a man? a man is a network of computers that covers an area bigger than a , but smaller than a .
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Each row in a database is a set of unique information called a(n) ? a.) table. b.) record. c.) object. d.) field.
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
Does anybody know how to hack into a google account? i had important information on it and it is gone now and i need getting it back.
Answers: 1
question
Computers and Technology, 24.06.2019 16:50
Ramp charts are generally created in wordlotusexcelpowerpoint
Answers: 1
You know the right answer?
1. first the program should call a function named getcomputerchoice to get the computer's choice in...
Questions
Questions on the website: 13722359