Problem 1 solution

Create a recursive function to print a multidigit number vertically. For example, 2378 should be printed

2

3

7

8

Test your program with numbers of different length. 
Powered by