A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
26
Task/Logical-operations/Delphi/logical-operations.delphi
Normal file
26
Task/Logical-operations/Delphi/logical-operations.delphi
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
program LogicalOperations;
|
||||
|
||||
{$APPTYPE CONSOLE}
|
||||
|
||||
const
|
||||
a = True;
|
||||
b = False;
|
||||
begin
|
||||
Write('a = ');
|
||||
Writeln(a);
|
||||
Write('b = ');
|
||||
Writeln(b);
|
||||
Writeln;
|
||||
|
||||
Write('a AND b: ');
|
||||
Writeln(a AND b);
|
||||
|
||||
Write('a OR b: ');
|
||||
Writeln(a OR b);
|
||||
|
||||
Write('NOT a: ');
|
||||
Writeln(NOT a);
|
||||
|
||||
Write('a XOR b: ');
|
||||
Writeln(a XOR b);
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue