RosettaCodeData/Task/Logical-operations/EMal/logical-operations.emal
2026-04-30 12:34:36 -04:00

10 lines
334 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)