i have a qusetion about some problem
Posted: Sun Dec 20, 2009 12:11 pm
i had a qusteion in my test , i need to build a script that
get a number and the number sum numeral.
exp
123456 = 66 i need to print = 12+3+45+6
5025 = 30 i need to print = 5+0+25
1245= 129 i need to print = 124+5.
how i solve this >
get a number and the number sum numeral.
exp
123456 = 66 i need to print = 12+3+45+6
5025 = 30 i need to print = 5+0+25
1245= 129 i need to print = 124+5.
how i solve this >