RosettaCodeData/Task/Logical-operations/Euphoria/logical-operations.euphoria
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

6 lines
216 B
Text

procedure print_logic(integer a, integer b)
printf(1,"a and b is %d\n", a and b)
printf(1,"a or b is %d\n", a or b)
printf(1,"a xor b is %d\n", a xor b)
printf(1,"not a is %d\n", not a)
end procedure