nIn many situations, we need to use a loop contained
within another loop
nSuch loops are called nested loop.
nUsefulness
n2-dimensional array
nCompute the average grade for each student in
a class of 20 students. Each student has taken 3 exams during a quarter.
nPrint 2-dimensional pattern
n
n