Welcome to LQ.org!
As the others have stated, this forum is not to be used as a place to get answers to homework. Google is your friend for that kind of stuff
looky looky i did your homework using google
and i just broke the rule.. well i'm a nice person, so let this one slide, just between you and me
This forum is a vast resource of problems and answers, so the first thing to do would be to do a search on the entire forum. Then google. Then more google. Then post a question. It is preferred that the user has put in some effort to show they are actually wanting to know how
to do something or why
something does what it does and not just want to know the answer without caring (for homework, as an example). I'm not saying you don't care just that you should search around a little first
I hope this was insightful