Originally Posted by lucky7
I need it for my test so please if u know the answer please for the love of god help
It is not really in your best interests that others do your all or most homework for you. Your teacher may gain a false and exaggerated idea of your programming capabilities and so not offer you the support you need. Also, if you hand in other people's work which you do not completely understand, then you will start to fall behind and your difficulties will increase.
Pretending that other people's work is your own is normally regarded as cheating. Dishonest, in fact.