Question: Write a simple number guessing game (in Java) to ask the player to choose from given max values for the range in which the random

Write a  simple number guessing game (in Java) to ask the player to choose from given max values for the range in which the random number would generate from for each game played. For instance, my current program tells the player to guess a number between 1 and 100, but I want the game to ask and recognize user input for more than just the "1 and 100." How would I get a range (beginning with 1) and a max of 50, 100, 200, or 500 instead of just the single range between 1 and 100? I am not sure my question makes any sense

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 Programming Questions!