blob: 714a4f6c92942df7a936e648ae47663c5d70a23d [file] [log] [blame] [raw]
unit output;
interface
function SumOverArray(const Input: array of Integer): Integer;
implementation
function SumOverArray(const Input: array of Integer): Integer;
var
I: Integer;
begin
SumOverArray := 0;
for I := Low(Input) to High(Input) do
begin
SumOverArray += Input[I];
end;
end;
end.