Page 1 of 1

Which of the following methods can be used to find the sum of digits of a number?

Posted: Wed Jul 13, 2022 7:39 pm
by answerhappygod
a) Recursion
b) Iteration
c) Greedy algorithm
d) Both recursion and iteration