Search:

Type: Posts; User: Cozilz

Search: Search took 0.40 seconds.

  1. Re: My 'if statements' are skipped after user input

    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));
  2. Re: My 'if statements' are skipped after user input

    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...
  3. My 'if statements' are skipped after user input

    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...
Results 1 to 3 of 3