Write a C program that will generate a three-input truth table for the following Boolean expression.
F(A;B;C) = AB+AC+ABC
Write a C program that will generate a three-input truth table for the following Boolean expression.
F(A;B;C) = AB+AC+ABC
Last edited by dalma; 03-15-2011 at 04:11 PM.
That's not a boolean expression. There is no addition or multiplication defined on R2. Also, it's unlikely you will get anyone to do your homework for you.
I think in this notation, AB means A AND B, and A+B means A OR B.
I'll give you a hint dalma: you'll need to use the C logical operators, && and ||.