<%@ page import = "num.NumberGuessBean" %> Number Guess <% if (numguess.getSuccess()) { %> Congratulations! You got it. And after just <%= numguess.getNumGuesses() %> tries.

<% numguess.reset(); %> Care to try again? <% } else if (numguess.getNumGuesses() == 0) { %> Welcome to the Number Guess game.

I'm thinking of a number between 1 and 100.

What's your guess?
<% } else { %> Good guess, but nope. Try <%= numguess.getHint() %>. You have made <%= numguess.getNumGuesses() %> guesses.

I'm thinking of a number between 1 and 100.

What's your guess?
<% } %>