Nope, you have to figure it out yourself. We don't do homework here. But if you're stuck, post the code you've got and explain what the problem is, and we'll see if we can help out.