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

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!