Guessing Game: Repeat While example

Guess a random number with higher/lower hints until you get it.