There are so many things which you should take care of
- Post in the right forum and you posted it as an article.
- Do not post the same thing more than once.
- Do not post the complete code and say please complete it but try explaining what you can't do and what help you are looking for.
- Do not attach your code unless it is the only way out.