Ah OK well then I see what you were doing with your code now, I think.
But your pseudocode is quite bare you need to think about how to get each digit, if you knew the length it's easy enough but...
Type: Posts; User: Faz
Ah OK well then I see what you were doing with your code now, I think.
But your pseudocode is quite bare you need to think about how to get each digit, if you knew the length it's easy enough but...
OK perhaps if you explained a bit better what exactly you are trying to do. I am guessing you want to find the sum of the digits of an integer not the sum of integers of a digit :P first of all...