Hello,
I try to generate output (all posibilities) for logical AND. Nb inputs is 10 and that means there are 1024 combination.
example:
n i1 i2 i3 i4 i5 i6 i7 i8 i9 i10 output
1 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0 1 0
3 0 0 0 0 0 0 0 0 1 0 0
.
.
.
etc
How can I make a simple script to generate this output (for all posibilities) as is shown in the example above (of course which is not complete...)
Thank you for hint or help