I spent 4 hours trying to find out how I can add the digits of a number. Could you give me an idea?

Adnan S. Newbie Poster

Aia 1,977

thinker -4

Ancient Dragon 5,243

Jishnu 160

thinker -4

doublex 1

Ab000dy_85
commented:
This look very well done, why there are more posts after yours :/ +1

thinker -4

Ancient Dragon
commented:
no code tags -4

doublex 1

Salem 5,138

thinker -4

Nick Evan 4,005

emmwithjesus -9

Salem
commented:
Completely illiterate, 6 months late, and no code tags. -4

Ancient Dragon
commented:
Ditto what Salem said -5

Nick Evan 4,005

Ancient Dragon
commented:
Create your own thread. -5

qasimhasnain -7

Ancient Dragon
commented:
huh? -7

saguna.saha -3

deceptikon
commented:
Please look at thread dates before posting. Thanks. -3

deceptikon
commented:
Please look at thread dates before posting. Thanks. -3

Ancient Dragon 5,243

Ancient Dragon 5,243