Question: Write a java program that does a reverse guessing game with the user. The user thinks of a number between 1 and 30, and the
Write a java program that does a reverse guessing game with the user. The user thinks of a number between 1 and 30, and the computer repeatedly tries to guess it by guessing random numbers. Its fine for the computer to guess the same random number more than once. Also consider having the user hint to the computer whether the correct number is higher or lower than the computers guess. The computer should adjust its range of random guesses on the basis of the hint. At the end of the program the program reports how m any guesses it made.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
