RosettaCodeData/Task/Logical-operations/EMal/logical-operations.emal
2023-07-01 13:44:08 -04:00

10 lines
336 B
Text

fun logicOperations = void by logic a, logic b
writeLine("=== input values are " + a + ", " + b + " ===")
writeLine("a and b: " + (a and b))
writeLine(" a or b: " + (a or b))
writeLine(" not a: " + (not a))
end
logicOperations(false, false)
logicOperations(false, true)
logicOperations(true, false)
logicOperations(true, true)