Search:

Type: Posts; User: Parranoia

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    1,079

    Re: Struggling with Java counter

    Well as I mentioned in the first reply, your for statement never runs the way you have it setup.
    The logic behind it is saying to loop while your counter variable l is greater than or equal to 5....
  2. Replies
    7
    Views
    1,079

    Re: Struggling with Java counter

    So is this solution working or are you still having issues?
  3. Replies
    7
    Views
    1,079

    Re: Struggling with Java counter

    No, that's not what I was saying at all.

    If you have any other more specific questions feel free to ask
  4. Replies
    7
    Views
    1,079

    Re: Struggling with Java counter

    Well from what you have given the problem is still a little unclear, but looking at your computeResult method I can see a few things that might be throwing it off

    Your for loop is told to loop...
Results 1 to 4 of 4