Connectives Used by program:
Truth Functions
1. A
2. ~B
3. A>B(wrap in parentheses)
4. ~(B&C)(negated: do not wrap)
5. C+(B&C)(wrap in brackets)
6. ~[(B>A)+C](negated:do not wrap)
/C+A(wrap in parentheses)
Enter thus:
A/~B/(A>B)/~(B&C)/[C+(B&C)]/~[(B>C)+C]//(C+A)
INPUT | OUTPUT | |||
---|---|---|---|---|
and | or | if...then... | if...and only if... | |
P.....Q |
P&Q |
P+Q |
P>Q |
P=Q |
T.....T |
T |
T |
T |
T |
T.....F |
F |
T |
F |
F |
F.....T |
F |
T |
T |
F |
F.....F |
F |
F |
T |
T |
INPUT | OUTPUT |
---|---|
P |
~P |
T |
F |
F |
T |