Easy
Recursive Count Up
Write a recursive function that prints 1 to n in order. Read n and call it.
Input
One integer n ≥ 1.
Output
n lines.
Sample 1
Input
3
Output
1 2 3
Sample 2
Input
1
Output
1
Output appears hereHints
One integer n ≥ 1.
n lines.
3
1 2 3
1
1
Output appears here