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, 22.06.2019 18:00
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
question
Computers and Technology, 22.06.2019 18:30
The "instance" relationship shows that something is an object of a
Answers: 1
question
Computers and Technology, 22.06.2019 19:10
10. when you create a pivottable, you need to specify where to find the data for the pivottable. is it true
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
How do you set up a slide show to play continuously, advancing through all the slides without requiring your interaction? a. click set up slide show, and then select the loop continuously until ‘esc' and show without narration options. b. click set up slide show, and then select the loop continuously until ‘esc' and use timings, if present options. c. click set up slide show, and then select the show presenter view and use timings, if present options. d. click set up slide show, and then select the show without animation and browsed at a kiosk (full screen) options.
Answers: 3
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: 13722360