Recursive Digit Sum

  • + 1 comment

    Thanx for contribution . Why echo 9;

    • + 1 comment

      If the remainder is zero( when we perform (n*k)%9) it means the sum of digits is 9.