Problems
Write a program that inputs a natural number n and outputs it separated by spaces as in the "Example Output".
NOTE: Separate numbers with spaces, but do not leave blank lines between them.
Example #1
3
1
1 2
1 2 3
Example #2
5
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
Source
자기주도C언어프로그래밍