Write a program to show following output depending upon input n.
Sample input:
n=3
Sample output:
1
12
123
Sample input:
n=5
Sample output:
1
12
123
1234
12345
See the video for solution 🙂
Write a program to show following output depending upon input n.
Sample input:
n=3
Sample output:
1
12
123
Sample input:
n=5
Sample output:
1
12
123
1234
12345
See the video for solution 🙂