For some reason it won't jump out of it.
System.out.println("\nWould you like to try to guess the number again?\n" + "1.Yes\n" + "2.No\n" + "3.Exit the System"); guessAgainPrompt=keyboard.nextInt(); switch (guessAgainPrompt) { case 1: guessNumber(); guessCount=+1; if (numberGuess==bonusNumber) { guessCorrect(); condition=false; } else { guessFail(); } break; case 2: System.out.println("Thanks for playing the Game!"); condition=false; break; case 3: System.out.println("Goodbye"); condition=false; break; } }while (guessCount<=5 || condition==true);