posted 3 years ago
Hello everyone, I am new to this and I am having problem figure out how to fix my code. I am a beginner and just want to learn. I know I have a lot to learn. So if someone could tell me what I am doing wrong. I would appreciate it. I am creating a guessing game for a user to select a number from 1-10 but when entering an answer, it does not tell me if I won or lost correctly. When I set it to false I lose and when I set it to true I win. But this is not what I want. But, when I answer correctly it says correct guess but the game does not end, it just continues. Please help I am stuck.