+ 2

How to print all possible combinations of a list or array of numbers.

Please help. I need to know how to print to screen all the possible combinations(not permutations) of a list of numbers.

28th Jul 2017, 9:37 PM
Russel Braum
Russel Braum - avatar
1 ответ
0
Loops inside of loops: for(int x = 0; x < 5; x++){ for(int y = 0; y < 3; y ++){ Console.WriteLine("{0} : {1}", x, y); } }
28th Jul 2017, 10:18 PM
Limitless
Limitless - avatar