Question: Write a program (c code) to play guess the secret number game. The secret number is between 1 and 50. The program will prompt the

Write a program (c code) to play guess the secret number game. The secret number is between 1 and 50. The program will prompt the user for a guess. Next, program will tell the user if the secret number is within 5 or within 10 of the guess. After the user has guessed the secret number, the program will ask the user if he/she wants to play again (no=0 and yes=1).

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!