Write a guessing game for the computer in which the computer in which the computer generates a random whole number between 1 and 100 and the player tries to guess that number. The program should allow only ten guesses, and it will tell the player whether the guess is too low, too high, or right. FUNCTIONS AND VARIABLES main() secret The number to be guessed guess The players guess guesses The number of guesses rnd() Function for random number between 1 and 100 OUTPUT THE SECRET NUMBER IS BETWEEN 1 AND 100. WHAT IS YOUR GURESS? 5 TOO LOW, GUESS AGAIN? 45 TOO LOW, GUESS AGAIN? 92 TOO HIGH, GUESS AGAIN? 46 RIGHT! IT TOOK YOU 4 TRIES. OUTPUT THE SECRET NUMBER IS BETWEEN 1 AND 100. WHAT IS YOUR GUESS? 7 TOO LOW, GUESS AGAIN? 46 : : : TOO HIGH, GUESS AGAIN? 71 YOU LOSE, THAT WAS YOUR LAST GUESS. THE NUBER WAS 74
NEED CODE BEFORE 3:00PM EASTERN 4/15/03. ONLY SERIOUS CODERS REPLY WHO CAN GO AHEAD AND DO THE CODE AND BE WAITING FOR ME TO ACCEPT. THEN DELIVER THE CODE WITHIN THE NEXT HOUR OF MY ACCEPTANCE. WONT BE TO VIEW THE SITE AGAIN UNTIL TONIGHT. CODE NEEDS TO BE DONE IN C. 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.