Great! We open the outer loop to count from 1
to 3
. Then we open the inner loop to run for i
times and print the numbers. After closing the inner loop, we print "-"
and close the outer loop.
Oh, snap! We open the outer loop to count from 1
to 3
. Then we open the inner loop to run for i
times and print the numbers. After closing the inner loop, we print "-"
and close the outer loop.