Answer

You would have to change the array declaration so that it contains 12 elements (instead of 10), and change both for loops so that they iterate from 0 to 9 (instead of 11). Very easy!

Return to lesson.



Eric N. Eide
Hamlet Project
Department of Computer Science
University of Utah