Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Thread: Help with ints

    by Norm
    Replies
    7
    Views
    771

    Re: Help with ints

    Copy the printouts that show each change to the dmg variable and each time that same variable was referenced. There should be a line where the value made an unexpected change.
  2. Thread: Help with ints

    by Norm
    Replies
    7
    Views
    771

    Re: Help with ints

    Try debugging the code by adding some println() statements to print out the value of the variable every time it is changed and used.
    The print out should show you where the value changes from 25 to...
  3. Thread: Help with ints

    by Norm
    Replies
    7
    Views
    771

    Re: Help with ints

    Can you post the program's output that shows what you are talking about?
    Try debugging the code by adding some println() statements to print out the value of the variable every time it is changed...
Results 1 to 3 of 3