Ask Question
17 February, 03:12

Program Rock. java contains a skeleton for the game Rock, Paper, Scissors. Open it and save it to your directory. Add statements to the program as indicated by the comments so that the program asks the user to enter a play, generates a random play for the computer, compares them and announces the winner (and why). For example, one run of your program might look like this: $ java Rock Enter your play: R, P, or S r Computer play is S Rock crushes scissors, you win! Note that the user should be able to enter either upper or lower case r, p, and s. The user's play is stored as a string to make it easy to convert whatever is entered to upper case. Use a switch statement to convert the randomly generated integer for the computer's play to a string.

+3
Answers (1)
  1. 17 February, 05:35
    0
    Clarification

    Explanation:

    Are you asking us to do your program for you? Or do you have a specific question about coding not working?
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Program Rock. java contains a skeleton for the game Rock, Paper, Scissors. Open it and save it to your directory. Add statements to the ...” 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