RosettaCodeData/Task/Logical-operations/Pascal/logical-operations.pascal

7 lines
148 B
Plaintext

procedure printlogic(a, b: boolean);
begin
writeln('a and b is ', a and b);
writeln('a or b is ', a or b);
writeln('not a is', not a);
end;