Question: in c language Instructions . Create a simple interactive guessing game program. The program will generate a number between 0 and 9. The user will
Instructions . Create a simple interactive guessing game program. The program will generate a number between 0 and 9. The user will type a guess on the PuTTY terminal and the program will provide hints whether their guess is too high, too low, or correct. You will need to use the random number generator function, int RAND (void) . Note, RAND() will generate an integer value between 0 to 32767-you will need to figure out a way to restrict the random number to be from 0 to 9 (hint: use MOD). Your program should also confirm whether or not the input guess is valid, i.e. an Integer Bonus: Create a guessing game for numbers 0 to 99. CAP 100%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
