Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,15 +0,0 @@
|
|||
-- Ada has bitwise operators in package Interfaces,
|
||||
-- but they work with Interfaces.Unsigned_*** types only.
|
||||
-- Use rem or mod for Integer types, and let the compiler
|
||||
-- optimize it.
|
||||
declare
|
||||
N : Integer := 5;
|
||||
begin
|
||||
if N rem 2 = 0 then
|
||||
Put_Line ("Even number");
|
||||
elseif N rem 2 /= 0 then
|
||||
Put_Line ("Odd number");
|
||||
else
|
||||
Put_Line ("Something went really wrong!");
|
||||
end if;
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue