Hi, I am looking for a simple way to require an entry of either "a" "b" or "c"
Or an "x" (to exit)
If they enter anything else it should throw up a simple error "Example Error Invalid entry. Try again"
discard any possible extra entries if any are present and prompt for reentry
It needs to be a static method that I can reuse anytime.