RosettaCodeData/Task/Logical-operations/Bc/logical-operations-2.bc

6 lines
129 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
define logic_test(a, b) {
print "a and b: ", a && b, "\n"
print "a or b: ", a || b, "\n"
print "not a: ", !a, "\n"
}