Learn to Program with ZedLX

Free Online Programming Course for Beginners

Nested Loops and Alignment [6/10]

This program prints out all possible pairs of numbers 1-9 where the first number of a pair is greater than or equal to the second number.

The only change is the bounding value (j) of the inner for loop.

Loading...