This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

4 out of 5 Logic

Hi All,

I am implementing 2/3 logic as follows:
Three inputs a,b,c.
d will hold 2/3 value.

d=(a&b)|(b&c)|(c&d);

whether there is any combitation for 4/5 simillar to this?

a,b,c,d,e are 5 inputs then 4 out of 5 logic will be based on the following 10 combinations.

ab,ac,ad,ae
bc,bd,be,
cd,ce,
de

whether there is any simple way to find 4/5 logic...using |,& and !

0