Need help with code

Can anyone help me with this code and explain step by step what exactly you are doing so i can understand?
First of all, you do learn much better, when you do your homework yourself.

Second, are there no websites for the programming language that you are using? It ain't C++.

Third, links to who-knows-where ... copying text should be trivial.
Topic archived. No new replies allowed.