RosettaCodeData/Task/Logical-operations/PARI-GP/logical-operations.parigp
2023-07-01 13:44:08 -04:00

5 lines
93 B
Text

logic(a,b)={
print(a&b); \\ && is the same
print(a|b); \\ || is the same
print(!a);
};