I'd prefer to refactor the menu driver into a separate function that validates input and returns the validated input. Then this becomes a simple switch statement without the need of looping. That's...