...

/

Example 31: Number Pattern

Example 31: Number Pattern

Learn how to print a given number pattern.

We'll cover the following...

Problem

Write a program to produce the following output:

1
2   3
4   5  6
7   8  9  10
...
Access this course and 1400+ top-rated courses and projects.