Browse Source

Commit 23 - func show_letters um else Bedingung erweitern

main^2
Peter Wiebe 11 months ago
committed by Peter Wiebe
parent
commit
3406c58649
  1. 6
      src/main/c/hangman.c

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