Browse Source

Commit 23 - func show_letters um else Bedingung erweitern

remotes/origin/peter^2
Peter Wiebe 11 months ago
parent
commit
273fa7c4da
  1. 6
      src/main/c/hangman.c

6
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");
}
Loading…
Cancel
Save