This is NOT a place to submit your homework questions and ask for answers.

Show us your code till now, and we would be happy to help.

EDIT :: I have removed your duplicate post.