Hi i am experimenting with an lotto program in V.S. 2008
Lets say I got these eight numbers 2,6,12,17,18,24,29,32
I would like to get an array over every way to combine 7 of those numbers.
There would be eight of them:
For a nine numbers i would get 36: 7 number combination
For 10 numbers i would get 120: 7 number combinations
For 11 numbers i would get 330: 7 number combinations
For 12 numbers i would get 792: 7 number combinations
How do i build a loop for that would iterate an array with up to twelve numbers and return a new array with all possible 7 number combination?
Hope I'm making sense with my question