Search:

Type: Posts; User: PhHein

Search: Search took 0.18 seconds.

  1. Replies
    9
    Views
    1,224

    Re: Play again not working !

    Of course not, you're never looping the while loop as you have terminated it with the semicolon.
  2. Replies
    9
    Views
    1,224

    Re: Play again not working !

    The scanner still holds the newLine from entering the last int. NextLine parses that instead of your y/n.
    Add this:

    System.out.println("It took you " + guesses
    + " guesses to get it! ");...
Results 1 to 2 of 2