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

7 lines
148 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
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;