help needed with my while loop ,please!

good day all, i have been having problems trying to construct a while loop, it is my first time and i am clueless as to how to get it to work.
Here are my instructions:
You are to write a complete Java program that plays a simple game. The game simply chooses a
random number between 1 and 100, and then has the user make several attempts at guessing the
number. Here


  • I'm beginner as well, but I see a couple of things that confuse me.
    First, I ssee 'Count > numGuess' and 'Count < numGuess' but nothing if they are equal. You might have that covered, but why leave a loose end?
    Second, I counted your brackets and got 9 openBrackets but only 8 closeBrackets. Again, I might be missing something, but shouldn't there be the same number open vs. close?
    Thanks for the question.
  • OOps, double post!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion