Do not use the continue: statement in the
else if (input > randomNumber)
and the
else if (input < randomNumber)
block

There is here no reason to use continue since you are not trying to skip past anything. If you write your IF-statements correctly they will not collide somehow, and since you have, dont worry .

When trying to solve problems like this, use the debugger, step through the program step by step F11 and you will easily find the solution.