diff --git a/src/main/c/hangman.c b/src/main/c/hangman.c index edcf466..27be097 100644 --- a/src/main/c/hangman.c +++ b/src/main/c/hangman.c @@ -300,5 +300,9 @@ void show_letters(char secret_word[100], char guessed_letters[100]){ if(strchr(guessed_letters, secret_word[i])){ printf("%c ", secret_word[i]); } -} + else{ + printf("_ "); + } + } + printf("\n"); } \ No newline at end of file