Thank you so much.. I really appreciate it. I'm sorry for not being
specific at first. Actually, I have project and the project asked to
do hangman game. Firstly, I have to compare the country name with the
user guessed letter. But, at the same time I have to display the
underscore to represent the hidden country name. Once the user enter
one of the correct country name, then how can I replace the underscore
with correct letter and correct position?
Comments
Thank you so much.. I really appreciate it. I'm sorry for not being specific at first. Actually, I have project and the project asked to do hangman game. Firstly, I have to compare the country name with the user guessed letter. But, at the same time I have to display the underscore to represent the hidden country name. Once the user enter one of the correct country name, then how can I replace the underscore with correct letter and correct position?