If equal don't do anything

Pages: 12
And what If I want the program to retry the hero's name choosing if it isn't at least 3 characters?
I heard about some kind of pen (?) that can do this but I don't really have clue. The only thing I could think of right now is making a loop then break it if the name doesn't have 3 characters.
Instead of breaking the loop if the name doesn't have 3 characters, you could make the loop repeat until the name input has 3 or more characters and then break.
And what about that pen I were talking about? Anyone knows it?
No idea what you're talking about.
Ahhh yes. You need never worry about this, unless you decide to program in assembly. Even then it's a minor.
So there is no other way than making it a loop? There's nothing faster? It's just a console app but I would want to know for future.
Topic archived. No new replies allowed.
Pages: 12