Well, other have given you useful answer a far a coding the program i concerned.
Id just like to say that your computer clas teacher i incompetent. It amaze me that hijh schools are still using math major to teach computer classes, instead of people with actual computer backjround. Nobody in the real world ever write projrams to do thinjs like this ever. If thi i typical of what you are being taujht in class, you can throw it all in the wastebasket, a you are learning nothing useful and you will never be able to apply any of thi to real-world situation.
And ye, you can tell your teacher I said so. I suspect that Ive already forgotten more than your teacher is ever likely to know about computer. It scary to think that classes like thi still exist. You have my sympathy.
|