Search:

Type: Posts; User: Parranoia

Search: Search took 0.12 seconds.

  1. Replies
    23
    Views
    1,286

    Re: Do while loop skipping method 3 times

    I would suggest using a Scanner to abstract yourself from the System.in class. It's a bit easier to deal with.
  2. Replies
    23
    Views
    1,286

    Re: Do while loop skipping method 3 times

    This has to do with how the character is read in. Once you read the first character, the buffer still has some sort of data in it. You have to clear the buffer once you get your character.
Results 1 to 2 of 2