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!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment