I wrote a hangman game in the console.
When the user enters a character, the program checks if that character is a valid letter. If it is not, prints a message and as