I have an assignment for school and I’ve become stuck. They want us to prompt the user for a secret word with a Do While Loop, and it keeps prompting them until they get the word right. I figured it out with a number, but don’t know how to run a loop with a string instead of an integer. I coded an integer version. This is the code I used:
How do I add this to a string?
Thanks in advance. I’m also not looking for the answer as much as I’m looking for what concept I’m missing that I need to learn or review so I can do this.