Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    1,053

    Re: Question about IF Statement

    Did you use the -Xlint option with the javac command? It should show you a problem when you use it.


    I always use it and I get a message from the compiler with your code. You need to change how...
  2. Replies
    5
    Views
    1,053

    Re: Question about IF Statement

    Did you try it? It will give a message telling you want is wrong with your code.
  3. Replies
    5
    Views
    1,053

    Re: Question about IF Statement

    Where and how does the program terminate? System.exit() or by returning?
    Add some println statements to print out what is entered and saved in variables
    and also to show program execution flow.
    ...
Results 1 to 3 of 3