Search:

Type: Posts; User: GregBrannon

Search: Search took 0.09 seconds.

  1. Replies
    9
    Views
    3,597

    Re: Sum of Powers using recursion

    @Red: Any progress?

    In addition to the above suggestions, I noted that your assumptions for k == 0 and k == 1 are incorrect. Think about what happens for those cases. Pick small values for n and...
  2. Replies
    9
    Views
    3,597

    Re: Sum of Powers using recursion

    In future posts:

    1. Post code that can be run,
    2. Comment your code to describe what is (or should be) happening, and
    3. Post sample runs that show or instructions to duplicate the undesired...
Results 1 to 2 of 2