Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please, Use stdio.h Answer without using string And add comments explaining your

ID: 3730010 • Letter: P

Question

Please, Use stdio.h Answer without using string And add comments explaining your code Thank you 4 Hangman (20 points) 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 screen. Your program should terminate when either the (you can initialize your character array at declaration). Words are seven letters long. Initilly, entire word is guessed or 4 incorrect guesses have been attempted. Your program must be modular. Create at least tvwo meaningful functions that abstract details such as printing the word state after a letter guess is attempted or searching for a letter within a word. Test your program for the words: abandon, annoyed, finance, aerobic, inferno, infancy. Sample execution for word abandon: Hi, let's play hangman. The secret word is: Guess a letter:t Letter t is not part of the secret word, You have 3 attempts left. 4* Guess a letter:a Letter a exists 2 times in the secret word, You have 3 attempts left. ata* Guess a letter:e Letter e is not part of the secret word, you have 2 attempts left. For this problem, submit your pseudocode Submit your c files named hw6.pl.c, hw6.p2.c, hw6.p3.c, and hw6.p3.c via D2L dropbox

Explanation / Answer

Please find the code along with the comments in the given url:

https://paste.ubuntu.com/p/3JBD5rvV8t/