Thursday, April 24, 2008

Recursive

Write and test a recursive method/function that returns the maximum among the first n elements of an array.

More recursive fun:

Write and test a recursive method/function that returns the SUM of the squares of the first n positive integers.

Put your code on your blog when you are finished!

No comments: