• prompt
  • input

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