Guess Game Homework

This is my homework for the guessing game.