Question: Hello, everyone. I need help creating this program assignment (WordGame.c) in C language (not C++). I will give a great rating if you complete this
Hello, everyone.
I need help creating this program assignment (WordGame.c) in C language (not C++). I will give a great rating if you complete this program succesfully. Here are the instructions.





InputWord.txt :

Here is the sample output program:






Write an interactive program that will allow a user to play a word guessing game You will need to: You will use four character arrays: o one for the word to be guessed (solution) o one for the secret word made of dashes (secretWord) o one to keep track of the letters guessed so far (lettersGuessed) o one for the users word guess (guess) Declare additional variables as needed At the beginning of each game: . o solution array - start with an empty string. " Read a word from the file and store it in the solution array. the file but consists only of - (dashes) in the beginning with each guess Change the solution word to all lowercase letters o secretWord array should be adjusted to the correct length (that is the same size as the word read from lettersGuessed array should be empty at the start of each round of the game-a character is added An integer will keep track of how many characters are in the array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
