This is a forum, not a code factory. Write your own code and ask a specific question and you'll get help and guidance to further your learning. Show no effort and ask for code and you'll get flamed...