Question: Write a java program that randomly picks a number between 1 and 1 0 0 and asks the user to guess it . Notify the

Write a java program that randomly picks a number between 1 and 100 and asks the user to guess it. Notify the user whether their guess is higher or lower than the correct answer, or if they guess the correct answer. Keep track of the number of guesses that the user requires to guess the number, after 7 guesses, display "Too bad so sad".

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!