It's because of this



while((userGuess < 1) || (userGuess > 10))


Your users guess is always going to be between 1 and 10 on the second loop through since you didn't reset it move the...