Draw the
Pattern
Write a
program that asks user to type the value of N and then draws a pattern with
numbers.
Input: A positive integer
Output: Triangular pattern with numbers
Sample Input1:
|
Sample Input2:
|
3
|
5
|
Sample Output1:
|
Sample Output2:
|
1
1 2
1 2 3
|
1
1 2
1 2 3
1 2 3 4
1 2 3 4
5
|
Для отправки решений необходимо