A

Admin • 828.03K Points
Coach

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

  • (A) recursion
  • (B) iteration
  • (C) greedy algorithm
  • (D) both recursion and iteration

Explanation by: Admin
both recursion and iteration can be used to find the sum of digits of a number.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.