Search:

Type: Posts; User: Norm

Search: Search took 0.25 seconds.

  1. Replies
    4
    Views
    1,364

    [SOLVED] Re: My loop skips index[0] of my array

    You are having problems with the Scanner class's methods.
    See: Java Scanner not working, difference between next() and nextLine() | Rommel Rico

    You need to call nextLine() after the call to...
  2. Replies
    4
    Views
    1,364

    [SOLVED] Re: My loop skips index[0] of my array

    Where and how is that shown?

    What is the purpose of the folllowing statement:

    numberOfPlayers = (input.nextInt() + 1);
Results 1 to 2 of 2