Hi I just had a quick question. I have this code
if (answer > num1)
JOptionPane.showMessageDialog(null,"Your answer is too high");
else if (answer < num1)
JOptionPane.showMessageDialog(null, "Your answer is too low");
else
JOptionPane.showMessageDialog(null, "You won!");
and its gave me this as an error.
error:bad operand types for binary operator '>'
error:bad operand types for binary operator '<'
What do those errors mean?