Recursive Digit Sum

  • + 5 comments

    can you pls explain this logic. why it works?