Thread
:
SumOfSum
View Single Post
#
1
01-05-2019, 03:53
CodeCracker
VIP
Join Date: Jun 2011
Posts: 980
Rept. Given: 83
Rept. Rcvd 680 Times in 290 Posts
Thanks Given: 79
Thanks Rcvd at 4,000 Times in 767 Posts
SumOfSum
Generate a string for inputed sumofsum integer value:
Test value: input string "12345678"
sum("12345678") = 1+2+3+4+5+6+7+8 = 36
sum(sum("12345678")) = sum("36") = 3+6 = "9"
Attached Files
SumOfSum.zip
(33.5 KB, 7 views)
The Following 4 Users Say Thank You to CodeCracker For This Useful Post:
Indigo
 (07-19-2019),
mdj
 (01-18-2019),
niculaita
 (01-06-2019),
user1
 (05-21-2019)
CodeCracker
View Public Profile
Find all posts by CodeCracker