Search:

Type: Posts; User: chrisob

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    1,278

    [SOLVED] Re: For Loop not working correctly.

    And fixed. Removed unnecessary temp variable for swapping high to low and just initialized scoreLow as whatever scoreHigh was and the else if sorted the rest. Thank you very much for the help. That ;...
  2. Replies
    5
    Views
    1,278

    [SOLVED] Re: For Loop not working correctly.

    Removing the ; fixed the for loop anyways, and it allowing me to enter 5 students (again in the example)

    My if statements are a bit screwy though as it is giving me the highest student, but an...
  3. Replies
    5
    Views
    1,278

    [SOLVED] Re: For Loop not working correctly.

    True regarding the going for it before the for loop, now that I look for it. The scoreLow is set high as a basic error trap (there can't be a higher entry than 32k or what not as it's an int, and...
  4. Replies
    5
    Views
    1,278

    [SOLVED] For Loop not working correctly.

    Hey

    This is probably something easy. In fact, it definitely is. Still new to Java so ignore lack of arrays and better ways of doing it, as I'm only 172 pages into a 1300 page college book!!
    ...
Results 1 to 4 of 4