RosettaCodeData/Task/Logical-operations/BASIC/logical-operations-1.basic

7 lines
111 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
10 A = -1
20 B = 0
30 PRINT A AND B
40 PRINT A OR B
50 PRINT (A AND (NOT B)) OR ((NOT A) AND B)
60 PRINT NOT A