iterate through the list until the end of the list.
declare a variable called SUM then add the numbers from each node during the iteration to the variable sum.
Reputation Points: 12
Solved Threads: 9
Junior Poster in Training
Offline 83 posts
since Mar 2008