Page 1 of 1

loops-help

Posted: Fri Jul 01, 2011 12:14 pm
by murali
====================================
1. Write a function, sum, which will return the sum of the elements
of a list of integers.
(a) use iteration (loops), (call your function: sumiteration)

Re: loops-help

Posted: Fri Jul 01, 2011 12:20 pm
by I X Code X 1
This one is very easy, but try to work it out on your own. Everything you need can be found right here: http://www.unixuser.org/~euske/doc/cl/loop.html