Sorry about that. The error I get is "not a statement" on the && part. I'm not particularly sure what I need to do to fix it.
if ((tempScale) equals("C") && (tempNum >= 100));
Type: Posts; User: Cozilz
Sorry about that. The error I get is "not a statement" on the && part. I'm not particularly sure what I need to do to fix it.
if ((tempScale) equals("C") && (tempNum >= 100));
Well now I am getting errors around my "&&" in this line:
if (tempScale = "C" && tempNum >= 100)
System.out.println("Your water is boiling.");
Do I need to convert "C" to a...
The program shuts down right after I receive input for a String and an int variable, and I'm really confused as to why it's doing this. Any help at all would be greatly appreciated.
import...