Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    21
    Views
    3,061

    Re: New Recursion problem need lil help

    You don't use the value returned by the addDigits() method called here?
  2. Replies
    21
    Views
    3,061

    Re: New Recursion problem need lil help

    What is the pseudo code for "sum of digits in number"?
    That's just a restatement of what the whole program is supposed to do.
    Your recursion needs to get the 'current' digit and add to it the sum...
Results 1 to 2 of 2