Question: Managemt Information Systems Write an app that plays guess the number as follows: Create an app with a class called Guess_Number. Your app chooses the

Managemt Information Systems
Write an app that plays "guess the number" as follows: Create an app with a class called Guess_Number. Your app chooses the number to be guessed by selecting a random integer in the range 1 to 1000. The app displays the prompt Guess a number between 1 and 1000. The player inputs a first guess. If the player's guess is incorrect, your app should display Too high. Try again. or Too low. Try again. to help the player "zero in" on the correct answer. The app should prompt the user for the next guess. When the user enters the correct answer, display Congratulations. You guessed the number! and allow the user to choose whether to play again. You may use the following statements to generate a random number between 1 and 1000. static Random randomNumbers = new Random(); randomNumbers.Next(1, 1001); // this returns an integer Count the number of guesses the player makes. If the number is 10 or fewer, display Either you know the secret or you got lucky! If the player guesses the number in 10 tries, display Aha! You know the secret! If the player makes more than 10 guesses, display You should be able to do better! Why should it take no more than 10 guesses? Well, with each "good guess," the player should be able to eliminate half of the numbers. Now show why any number from 1 to 1000 can be guessed in 10 or fewer tries. You have to use, at lease, 3 method calls including the Main() method in your program. That means you cannot have all the codes in the main() method. You need to create methods to complete all the functions. Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
