Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    7
    Views
    616

    Re: Simple fix for simple program

    Did you miss this where I recommended adding an id String to the print out so its output can be identified?
    Also print out the value being compared against:


    System.out.println("id1 " +...
  2. Replies
    7
    Views
    616

    Re: Simple fix for simple program

    I assume that the Strings hond shown in the post was from a print statement you added. Was one of them entered and one printed by the program?
    Where is the "id1" String I recommended so you can...
  3. Replies
    7
    Views
    616

    Re: Simple fix for simple program

    Did you try doing some debugging by adding print statements that print out the values in theAnswer?
    Make sure each print statement has a unique id so you know which statement printed the output:

    ...
  4. Replies
    7
    Views
    616

    Re: Simple fix for simple program

    Have you tried printing out the contents of the variables that have the values being tested so you can see what the computer sees when it executes the code?

    Please copy the contents of the command...
Results 1 to 4 of 4