Imagine that you want to play the "Rock-Paper-Scissors" game and you need to write a function makeDecision() that returns "Rock", "Paper", or "Scissors" depending on a random number from 1 to 3.
Write that function.
Imagine that you want to play the "Rock-Paper-Scissors" game and you need to write a function makeDecision() that returns "Rock", "Paper", or "Scissors" depending on a random number from 1 to 3.
Write that function.
Create a free account to access the full topic