0

I need some help with algorithm for dispaying digits of n number and finding their sum(without using array)

Hi. I would be really grateful if you help me with algorithm for displaying the digits of n number and finding their sum. Thanks in advance and as I said if it possible to be without an array.

20th Nov 2016, 8:43 AM
LordaBG
1 Resposta
0
Thanks but I found better way using while mubutm != o0 and then mid 10 then div 10 .... thanks anyway
21st Nov 2016, 8:10 PM
LordaBG