In Java, please. Write a program that will play one round of "Guess my Number" with the user. 1) Generate a random numbe
Posted: Tue Jul 05, 2022 10:27 am
In Java, please.
Write a program that will play one round of "Guess myNumber" with the user.
1) Generate a random number for the computer's choice between 45and 75.2) Prompt the user to enter a number between the range 45-75.3) Compare the values:
** To save time, assume the main() class exists. Write only thecode that goes in main().
Write a program that will play one round of "Guess myNumber" with the user.
1) Generate a random number for the computer's choice between 45and 75.2) Prompt the user to enter a number between the range 45-75.3) Compare the values:
** To save time, assume the main() class exists. Write only thecode that goes in main().