Write a program called guessing game that will generate a


Write a program called Guessing Game that will generate a random number between 1 and 100. The program will tell the player if his/her guess is too high or too low and when it is correct and will continue until the player guesses the number or end the game. The player must be allowed to terminate the game. The program has 3 methods plus the main method. One method will return an integer between 1 and 100 to the main method. The second method will get the player's guess, and will return the guess as an integer to the main method. The third method will return nothing but you will pass the guess and the random number and compare them. It will then tell the player if his/her guess is too high or too low, or if it is correct. If it is correct the player will have the option of continuing the game or ending it. Thanks so much, will rate.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program called guessing game that will generate a
Reference No:- TGS0571638

Expected delivery within 24 Hours