Question: i need help with this in program c in visual studio Intro to Programming in C-Large Program 1 -Letter guessing Game You will write a

i need help with this in program c
in visual studio
 i need help with this in program c in visual studio

Intro to Programming in C-Large Program 1 -Letter guessing Game You will write a program that will play a letter guessing game. General Requirements Write a program that reads letters from a file called "letters.txt .Your program will ask the user to enter the number of games they wish to play ( to 8) . Your program will open the letters.axt file read in one character at a time and repeat this for the number o the user wants to play .For this assignment the test file will contain at least 8 letters, uppercase OR lowercase In your program you will change each letter (solution and guess) to uppercase o Use the function toupper in #include #include #define MAXGUESSES 5 - - //this function provides instructions to the user on how to play the gane void LetterGuessRules(); //this function asks, gets, and /freturns the number of games the user wants to play int Ganecount ) //this function runs one game /input: character fron the file, void return type /all other functions to Play one round of a game /fare called from within the PlayOneGame function void PlayOneGane(char solution); //this function prompts the player to make a guess and returns that guess //this function is called from inside the PlayoneGame function described above char GetGuess ); //this function takes two arguments, the guess fron the player /and the solution letter fron the file //The function returns 1 if the guess matches the solution and returns a e if they do not match //This function also lets the user know if the guess comes alphabetically before or after the ar int CompareGuessAndSolution(char guess, char solution); Use function prototypes. Write comments for each function that will appear in the file before each prototype and ag before each function definition. . . Be sure to comment your code adequately .Be sure to indent properly. Check your textbook and lecture code examples to see how it should done. Use meaningful variable names

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!