There are four sensors they're whether on (0) or off (1).
They all can be on or off at the same time.
Example conditions are as below:
A0 0
A1 0
A2 1
A3 0
Another one:
A0 1
A1 1
A2 1
A3 1
How can I print all possible conditions?
I'm writing a code that requires to check which condition is true to do something, and by the time I have wrote ten conditions by thinking. But I think another code can help me to have all conditions.