Well we're not going to do your homework for you. Have another go and see how far you get, then post the code and we'll help you move on. HINT (a really big one) don't try to write the whole lot before compiling it. Just write a bit, then test it, and this way if you get "so many errors" there's a limited scope for them.

Well we're not going to do your homework for you. Have another go and see how far you get, then post the code and we'll help you move on. HINT (a really big one) don't try to write the whole lot before compiling it. Just write a bit, then test it, and this way if you get "so many errors" there's a limited scope for them.

i dont want u to write my homework.
i have written it.here is the code but it has some errors that i dont understand them.plz if u can help me.