Search:

Type: Posts; User: GregBrannon

Search: Search took 0.14 seconds.

  1. Replies
    10
    Views
    1,160

    Re: why is my while loop terminating?

    Something like this will continue to run and print the results while h > 0. I don't think it's exactly what you want, so it's an example of what you could do. You may massage it as needed.
    public...
  2. Replies
    10
    Views
    1,160

    Re: why is my while loop terminating?

    I told you how to do it in post #4. Try that and come back if you need help.
  3. Replies
    10
    Views
    1,160

    Re: why is my while loop terminating?

    Please give your variables better names and add a few comments to your code to explain what the heck is supposed to be happening. Single-letter names or the dreaded single-letter plus a number are...
Results 1 to 3 of 3