every combination in pairs of 2
in
Programming Questions
•
2 years ago
I could do them by hand but then i lern nothing.
I want to split cmyk on 2 pages.
How do i get every combination? (so not permutions this time).
The order doesn't matter, so
page1 - page2
CM - YK
is same as
MC - KY
I hope you understand what i mean.
edit:
for rgb this will be all possibilities:
r gb
rg b
rb g
I want to split cmyk on 2 pages.
How do i get every combination? (so not permutions this time).
The order doesn't matter, so
page1 - page2
CM - YK
is same as
MC - KY
I hope you understand what i mean.
edit:
for rgb this will be all possibilities:
r gb
rg b
rb g
1