Write an interactive program that plays a game of hangman. store the characters of the word to be guessed in an array of type char (you can initialize your character array at declaration). words are seven letters long. initially, the program displays the length of the word to be guessed. this is in the form of successive stars (see example). the player guesses letters belonging to the secret word one by one. after each guess, the letters that have been guessed and the number of wrong guesses are displayed on the screen. your program should terminate when either the entire word is guessed or 4 incorrect guesses have been attempted.



Answer :

Other Questions