Question: need help in plain c please // Question 2: ComputerPick int computerPick() { int computer_pick ROCK; // QUESTION 2: relace the below statement so that

need help in plain c please
// Question 2: ComputerPick int computerPick() { int computer_pick ROCK; // QUESTION 2: relace the below statement so that computer // picks 0, 1 or 2 randomly. you will neet do use: // 1) rand() and 1/ 2) the modulus operator '%' // // man rand to see how to use rand (use the man pages) // computer always picks rock here. return computer_pick; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
