64
TRUTH TABLE FOR "NOT" FUNCTION
A
NOT A
T
F
F
T
TRUTH TABLE FOR "AND" FUNCTION
A
B
A AND B
T
T
T
T
F
F
F
T
F
F
F
F
TRUTH TABLE TABLE FOR "OR" FUNCTION
A
B
A OR B
T
T
T
T
F
T
F
T
T
F
F
F
Note that T = TRUE and F = FALSE.
Example
:
10 INPUT A,B,C
20 IF A=B AND B=C THEN PRINT "A=B=C"
30 IF (NOT A=B) OR (NOT B=C) THEN 50
Summary of Contents for PreComputer Prestige
Page 1: ...COURSE BOOK...