Hello, please help me with my home work...
Create program which generates pin codes (allowed numbers 1-9), the user inputs length of the code and the biggest number
This has to be done with recursion
So the program would be:
Length: 3
biggest number: 2
111
112
121
122
211
212
221
222
Length: 5
biggest number: 4
11111
11112
11113
11114
11121
...
44444