Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    4
    Views
    1,780

    Re: Wanting to repeat my program...

    You need to call nextLine after calling nextInt to clear the new line character so that the next read will be from the next line that you input.
  2. Replies
    4
    Views
    1,780

    Re: Wanting to repeat my program...

    Can you copy here the console the shows this problem.

    The problem is probably with the Scanner class. You need to call nextLine after calling nextInt to clear the new line character left in the...
Results 1 to 2 of 2