Question: Need help writing this program in C 1. Greet the user and display instructions 2. Ask the user how many games they want to play
1. Greet the user and display instructions 2. Ask the user how many games they want to play 3. Get the number of games from the user 4. Get a number from the file (solution) 5. Ask the user to guess a number 6. Get the users guess (guess) 7. Check if the guess matches the solution if it is a match tell the user they have won and go to step 9. if it is not a match, give the user feedback and go to step 8. 8. Check if the user has used up the maximum number of guesses if the user has not used up the max guesses go to step 5. if the user has used up the max guesses tell the user they have lost and go to step 9. 9. Check if the number of games the user wanted to play have been played if the user has more games to play go to step 4. 10. say good bye to the user
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
