Ask Question
23 August, 11:49

Write a program that lets the user play this game against the computer. The program should work as follows: • When the program begins, a random number between 1 and 3 is generated. o If the number is 1, the computer has chosen rock. o If the number is 2, the computer has chosen paper. o If the number is 3, the computer has chosen scissors. o Don't display the computer's choice yet. • Use a menu to display the choices the user can enter. • Prompt the user to enter his or her choice of rock, paper or scissors. • Display the computer's choice and the user's choice. • Select a winner according to the following rules: o Rock smashes scissors, so rock wins. o Scissors cuts paper, so scissors wins. o Paper wraps rock, so paper wins. o If both players make same choice, game must be played again to determine winner. Divide program into functions to perform each major task. You should have at least 4 functions.

+2
Answers (1)
  1. 23 August, 12:51
    0
    worlds hardest game?

    Explanation:

    has similar dynamics
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Write a program that lets the user play this game against the computer. The program should work as follows: • When the program begins, a ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers