How far have you got and where are you stuck? Note that we don't do homework here, but we can advise if you're stuck. Oh, and BTW please read the posting guideliines. The fact that you haven't used code tags shows you haven't, which we could interpreted as you can't be arsed about our time, so the question is why should we be arsed about helping you?