Question: Hi, can someone help with my java hw. Create a random number program that Prompts the user for the number of players who will be

Hi, can someone help with my java hw.

Create a random number program that

Prompts the user for the number of players who will be playing

Be sure to verify that the input is legitimate with try and catch.

For Each player:

Obtain the players name (which will be used to identify them while playing)

Pick a Random Number

Collect an (integer) guess from that user

Be sure to verify that the input is legitimate!!

Compare the guess to the random number

Output if the guess is High!, Low!, Correct!

Repeat asking each player in order until all players get the answer correct

If a player guesses their answer correctly, skip them for the rest of the current round.

Once ALL of the users guess the correct value, tell each how many guesses it took to get the right answer.

Display a table of the number of guesses and wrong answers by each player.

Finally,ask them if they wish to play again

If Yes, start over by asking the number of players.

Program should include multiple classes and atleast 3 methods.

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!