Hi Imran,
If you're trying to add up the individual digit of a number, you don't need to store them in an array.
For example:
After getting the sum, you can find the remainder for (sum / 10) by using % operator.
i konw n+n wont work beacsue its just gonna add n to the same number. Could you show us the code? Maybe we can point out the mistakes (if there's any) for you.
Joyce

[ November 01, 2004: Message edited by: Joyce Lee ]