diff --git a/src/main/c/hangman.c b/src/main/c/hangman.c index 6f4a00f..1be3268 100644 --- a/src/main/c/hangman.c +++ b/src/main/c/hangman.c @@ -301,5 +301,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