23.07.2013, 04:14
Quote:
If you want to learn something, you could try it on your own...
Here is the code: Untested, seen that return 1; is there because of the loop, could do a break... //edit forgot i++ |
EDIT: I got major errors with that.
EDIT1: Fixed