Answer
We need to declare the variable
ave
beforehand, and return its final value when the loop terminates.
Return to lesson.
Joseph L. Zachary
Hamlet Project
Department of Computer Science
University of Utah