04 Try it yourself Interactive

Fill the operation table

Press Next to run one pass of the outer loop. Each box is one execution of count = count + 1, numbered in the order it happens. The rose row is the pass running now, emerald rows are finished. Switch tabs to put the same n through the other loop shape and watch the table go from a thin column to a filled square.

Single loop
1 operation per pass → n total
One whole number from 2 to 10.
Press Next to begin. Each press runs one pass of the outer loop.


      
Input size n5
Outer pass i
Operations done0
Still to do0
step 0 / 0