Question: I have to write a code based on the question, but I have no idea how to write it. I have to write codes for
EXERCISE In this problem, you will write a method that takes in two Strings representing a round of "rock, paper, scissors." The Strings entered for the user and the computer will be "rock""paper", or "scissors". The method should return a String representing who the winner is provided by the three String variables USER PLAYER, COMPUTER PLAYER, and TIE. For example, if the user plays "rock" and the computer plays "scissors". the user wins
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
