I have the following bit of code in one of my programs:
The compiler keeps returning an error message of incompatible types, saying that it's expecting a double type, and that its declared as a String??? Does the JOptionPane class only accept Strings? I'm so confused. Thanks for your help in advance!