Given an integer N, print the corresponding pattern for N.
For example if N = 4 then pattern will be like:
1
1 2
1 2 3
1 2 3 4
in c++
Answers
Answered by
0
Answer:
N=9
Explanation:
1
12
123
1234
12345
123456
1234567
12345678
123456789
Similar questions