Answer
The main program enters a loop that counts from 1 to 10, and within the
loop calls ``SROOT'', which itself runs a loop. But usually when we use
the term ``nested loop,'' we are talking about the more direct form of
nesting illustrated in the text. We will look at another such example
shortly.
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu