A simple game using switch and encapsulating 2 prompts in a function called in the switch