Generate a random integer number between 20 and 100 ask 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
Business Management: Generate a random integer number between 20 and 100 ask the
Reference No:- TGS01732774

Now Priced at $25 (50% Discount)

Recommended (92%)

Rated (4.4/5)