Im writing this program in C and Im having a big problem when I compile it, once I get to the part were I ask the user if hes under 21, if the answer is yes, I ask more questions about that, but when I compile it, the program basicly answers its self. how can I fix this plz?
heres a screenshot, the orange box, i did not answer any of those questions.
https://i.stack.imgur.com/j6U6K.png
Im writing this program in C and Im having a big problem when I
Share
In the branch you’re having trouble with, you’re forgetting to prompt the user for input. Hence, it’s reusing whichever answer was last given by the user.