Problems
Given the height π of a triangle, write a program that prints the triangle in the specified numeric pattern.
Input
The triangle height π is given.
π is an odd integer not exceeding 50.
Output
Print the triangle with height
If the input value is outside the specified range, output INPUT ERROR!.
Example #1
3
0 0 0 0 0
1 1 1
2
Example #2
7
0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1
2 2 2 2 2 2 2 2 2
3 3 3 3 3 3 3
4 4 4 4 4
5 5 5
6
Tag
Source
JUNGOL