im very sorry
Type: Posts; User: Shivam24
im very sorry
Im sorry again.
I messed up and posted "while (randomInt != randomInt)"
it should be "while (number != randomInt)"
"!=" means does not equal and that's why your program stops. a variable can never...
Ok i see. I'm sorry i forgot to add a bracket so the while loop should look like this
while (randomInt != randomInt) {
if (number < randomInt)
{
c.print("The number you have guessed is too...
ur welcome : )
Try using a while loop instead of a for loop and change the position of your loop.
Also in your if statements have the user enter input.
It would look something like this
//your code
int...