This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
there are a number of ways to get user input. here's one way
the 'input' you get will be a String, so you will need to convert this to an int, to match the specs of your guess program. if you have problems with this, look up the Integer class and the methods that return an int.