Prompting the user for input until you get a valid response
- input
- prompt
It’s sometimes necessary to prompt the user for a response and check it, then re-prompt until it fulfils some test.
Prompting the user for input until you get a valid response
It’s sometimes necessary to prompt the user for a response and check it, then re-prompt until it fulfils some test.