So, that would probably be a good idea. And I'll bet that your lectures or the parts of the book you're supposed to have read and learned from offers answers to your 'gimmé.'
We're here to help you learn. Doing your homework does not help you learn. So go back to the book and your notes and try to solve your problem. We're here to help if you get stuck on some part of the code you'll bring back (you will bring code back, right?).
Yet another gimmé request!
Sorry, we expect SOPW to seek wisdom, not to ask us to do so for them.