Define a String, assign it a value depending on the value of random, compare it to playersChoice.
Type: Posts; User: Norm
Define a String, assign it a value depending on the value of random, compare it to playersChoice.
You need to set a String's value according to the value returned by the random() method. You have code that prints out the computer's choice, set the value of a String there.
Where is a String that holds the value chosen by the computer that you can compare with the value of playersChoice?
Why is playersChoice in "s? That is probably not what you want to compare...
What lines of the code are not working the way you want?
Please Edit your post and wrap your code with
<YOUR CODE HERE> to get highlighting