Hello! Any help so appreciated! I'm a beginner-beginner and I'm trying to create a High- Low Guessing Game in
Java.
What it is supposed to have is: Players guess a number between 1 and 100, the game tells them if their guess is too high or too low, and when they guess right it tells them how many guesses they have made. It is also supposed to have an option to quit if they enter a sentinel (0 in this case), and tell them if their guess is out of the range of 1-100. So far I can make all of that work, BUT I can't make it so they can quit mid-game or that it tells them they are out of range unless both of these things happen in the first numbers they enter.
I realize it's probably something with how my loops are set up orrr.... I'm not sure, been reading forums and textbooks all week and still haven't quite figured it out, unfortunately.
Thank you so much in advance for any help!!
Here is the code I have so far: