Answered step by step
Verified Expert Solution
Question
1 Approved Answer
JAVA JAVA JAVA Create a simple java game where a random number chosen by your program. The number could be a positive or negative number
JAVA JAVA JAVA Create a simple java game where a random number chosen by your program. The number could be a positive or negative number between [-21, 10] both inclusive. The user gets only 3 tries to guess the number. if the users guess is much greater than the actual number, print too high! ". If its less print "Too Low". The program should keep running till the user runs out of tries or if they type I give up or if they guess the number. Your program should remember all the guesses by the player and prints them at the end of the game!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started