Answer

Simply ask the user how many numbers to read, and use the answer to control the loop.

Return to lesson.



Hamlet Project
hamlet@cs.utah.edu