Write a program that generates a random number in the range of 1 through 100, and asks
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program that generates a random number in the range of 1 through 100, and asks the user to guess what the number is. If the user’s guess is higher that the random number the program should display “too high try again.” If the user’s guess is lower than the random number, the program should display “too low,try again” If the user guesses the number the application should congratulate the user and then generate a new random number so the game can start over.
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Posted Date: