The program informs the user about the number of trials the


Write a java program that allows to: Generate a random integer number between 20 and 100. Ask the user to find the number by giving propositions (or guessing). The program gives feedback to the user if the proposed number is greater or less than the generated number. The user continues to guess the number until he finds the generated number or he enters the letter Q to exit the program. The program informs the user about the number of trials, the randomly generated number, and his status of success or failure to guess the number.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: The program informs the user about the number of trials the
Reference No:- TGS01721297

Now Priced at $20 (50% Discount)

Recommended (95%)

Rated (4.7/5)