I can give you two answers. They don't answer your posted questions but they do address other issues

1. Read the big yellow box that says "BEFORE YOU POST!" where we ask that you avoid topic titles like "Some Help Pls"
2.I'm just taking a shot in the dark here but this sounds like homework?! If that is the case we are not going to do this for you!
Google is your friend, so is your text book.
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.
Please post like this:

Thank you for helping us helping you.