Ternary logic: Difference between revisions
Content deleted Content added
→{{header|C}}: *THIS* is probably the intended order (I'd define FALSE to 0 but that's not cruical) |
|||
Line 422:
} trit;
const char* tritString[3] = {"
trit tritNot[3] = {TRITFALSE , TRITMAYBE, TRITTRUE};
Line 467:
Output:
<lang text>Not
Not MAYBE: MAYBE
Not
MAYBE AND FALSE: MAYBE▼
MAYBE AND MAYBE: MAYBE▼
MAYBE AND TRUE: MAYBE
=={{header|Java}}==
|