-1

I consistently keep getting this question wrong, and I cant figure out why

(a+b)(b+c)=ac+b

I put this as the answer:

ab+bc=a+cb

I do not understand why that is wrong

1 Answers1

1
(a || b) && (b || c) = (a && c) || b

It's written in c style (may be better for understanding). It means that if we have b = true the result is true, if b = false the result is depends of a and c in couple. Also we can find result for each tuple of (a, b, c) and for identical tuple we have identical results.