For example ,if the number that the function receive is 4, then the function should display a matrix as following:
11 12 13 14
21 22 23 24
31 32 33 34
41 42 43 44
Write a function that receives a positive integer and display each digit of such integer one digit per line. For example, if the integer the function receives 2475, then it should display the digits of this number as following:
I dont mind helping but in all honesty if I keep doing the work for you then are you actually going to learn from it? - the whole point is to try and solve the problems yourself and that way you learn from it.