Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Logical-operations/Ada/logical-operations.ada
Normal file
7
Task/Logical-operations/Ada/logical-operations.ada
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
procedure Print_Logic(A : Boolean; B : Boolean) is
|
||||
begin
|
||||
Put_Line("A and B is " & Boolean'Image(A and B));
|
||||
Put_Line("A or B is " & Boolean'Image(A or B));
|
||||
Put_Line("A xor B is " & Boolean'Image(A xor B));
|
||||
Put_Line("not A is " & Boolean'Image(not A));
|
||||
end Print_Logic;
|
||||
Loading…
Add table
Add a link
Reference in a new issue