RosettaCodeData/Task/Naming-conventions/Ada/naming-conventions-1.adb
2026-04-30 12:34:36 -04:00

8 lines
152 B
Ada

function Max (Left, Right : Integer) return Integer is
begin
if Left < Right then
return Right;
else
return Left;
end if;
end Max;