(11C) Sum of All Digits
|
11-17-2018, 08:22 AM
Post: #1
|
|||
|
|||
(11C) Sum of All Digits
Program to Sum Digits and if the answer of the previous sum is over 9 then
sum again. Example: 21579 = 2+1+5+7+9 = 24 --> 2+4 = 6 18235 = 1+8+2+3+5 = 19 --> 1+9 = 10 --> 1+0 = 1 987654321 ----> 9 ----------------------------------------------------------- Procedure: Desire Digits [A] --> Answer Sum of All Digits Continue with other digits with [R/S] or [A] Program: Code:
Gamo |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(11C) Sum of All Digits - Gamo - 11-17-2018 08:22 AM
RE: (11C) Sum of All Digits - Albert Chan - 11-17-2018, 02:26 PM
RE: (11C) Sum of All Digits - Dieter - 11-17-2018, 04:56 PM
RE: (11C) Sum of All Digits - Albert Chan - 11-17-2018, 06:27 PM
RE: (11C) Sum of All Digits - Thomas Klemm - 11-17-2018, 02:51 PM
|
User(s) browsing this thread: 1 Guest(s)