What is the algorithm for the following?
I have three locations ,,_
The first can have 0-2,
The second can have 0-4,
The third can have 0-3
I need to be able to generate the following list:
000
001
002
003
010
011
012
013
020
021
022
023
030
031
032
033
100
101
102
103
110
…and so on.
Can anyone explain how this can be done?