There are so many things which you should take care of
  1. Post in the right forum and you posted it as an article.
  2. Do not post the same thing more than once.
  3. 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.
  4. Do not attach your code unless it is the only way out.