EDN Admin
Well-known member
Once again, I know this isnt a math class, and I completely understand if no one would like to help me but I still have questions. Basically, I already know how to make a program that lists all the different combinations of a set of numbers. You know, like if I have 6 numbers. the combinations would be as follows:
0, 1 2, 3, 4, 6, 5
0 2 3 1 5 6,
0 5 3 2 1 6
and so forth. Basically, I need to know how to is, say if I have 3 numbers, and each number can be 1 - 9, how would I get all the different combinations with that range. Like as follows:
1, 0 , 1
1, 0, 2
1, 0 3,
1, 0, 4
and so forth. can someone help me.
View the full article
0, 1 2, 3, 4, 6, 5
0 2 3 1 5 6,
0 5 3 2 1 6
and so forth. Basically, I need to know how to is, say if I have 3 numbers, and each number can be 1 - 9, how would I get all the different combinations with that range. Like as follows:
1, 0 , 1
1, 0, 2
1, 0 3,
1, 0, 4
and so forth. can someone help me.
View the full article