Operation Matrix

I have a program that performs the operations of union, intersection and difference of sets. These operations are performed using the operators (+, *, -). I enter from the keyboard n sets, and the operations themselves are changed in the program. It looks like this:
Result = (set 1 * set 2) + (set 3 * set 4). Next, we print the result. Explain how to create such a matrix from 0 and 1, so that it works like this: if A = {{1, 1}, {1, 1}, {1, 1}}, then the result = (set 1 * set 2) + ( Set 3 * is the set 4) + (set S * is the set 6).
Is there a question in there?
so, i this a homework ?
How can I create such a matrix from 0 and 1, so that it works like this: if A = {{1, 1}, {1, 1}, {1, 1}}, then the result = (set 1 * set 2) + ( Set 3 * is the set 4) + (set S * is the set 6)?
Topic archived. No new replies allowed.