Latest Tutorials| Questions and Answers|Ask Questions?|Site Map

Home Answers Viewqa Java-Beginners who know full coding of guessing game in java?

View Questions and Answers by Category


Have Programming Question? Ask it here!

siti umairah
who know full coding of guessing game in java?
1 Answer(s)      3 years and 5 months ago
Posted in : Java Beginners

There is only 1 player. Use JAVA Random toolkit to generate random number between 1 to 10. Once user has entered in a number, checked whether the number match with the generated number. There should be a telling the user how many times has the user guessed a number. The program should display user win if the number user has guess the correct number. If not ask user to enter a number again until user has entered the correct number. The program should allow player to have options either to play again or to exit the game by type 1 to proceed the game and type 2 to end the game.

View Answers

October 21, 2011 at 5:26 PM

Related Tutorials/Questions & Answers: