[Solved] What is wrong with my do…while logic, and continue logic?


You’ll wanna take a look at this

Your continue statement is jumping to the end and checking the condition, guess != random, which evaluates to false and exits the do while. What you need to do is reset guess to a value such as 0 so that the condition does evaluate to true.

1

solved What is wrong with my do…while logic, and continue logic?