Um...no. That's not how it works around here. This is a site where people come to learn how to program. If you want code handed to you without understanding how it works, then try stackoverflow.com. If you want to learn how to become a better programmer, then show us what you've tried and explain how it didn't work the way you expected. We're happy to help others learn, but this is not a code mill.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson