So I changed it and now it throws an error that says bad operand types for binary operator.
if (user.equals("R") && CT = 2)
{
JOptionPane.showMessageDialog(null,"You Win! Rock smashes...
Type: Posts; User: dwheeler
So I changed it and now it throws an error that says bad operand types for binary operator.
if (user.equals("R") && CT = 2)
{
JOptionPane.showMessageDialog(null,"You Win! Rock smashes...
I'm new to JAVA and am working on the same game. I posted mine on here for help also because I keep ending in a tie. I'm not sure but where you have:
integer = 1+number.nextInt(3); I think should...
Hey guys I am trying to write this code to play rock, paper, scissors against the computer. No matter what letter I type in it converts it to 0 and also randomly gives the computer 0 and calls it a...
Thanks Hazimo13,
It's not due for a couple weeks, I'm actually quite far ahead in my homework so I have time to work with it and try and figure it out.
I don't really know what I need to change it to. I have a different count variable for each store number. I need it to look like this:
store 1 *
store 2 **
store 3 ***
store 4 ****
store 5...
I am working on this exercise now and am having some trouble with it. Did you get it figured out? I got my input from the user fine and display the graph afterwards, however the graph shows the total...