Answer

We need to initialize the value of i to 1 and the value of sum to 0.

Return to lesson.



Joseph L. Zachary
Hamlet Project
Department of Computer Science
University of Utah