Compara dois valores e retorna o maior
Compartilhe :

Função que compara dois valores e retorna o maior em Delphi

function Max(A, B: Integer): Integer;
begin
if A > B then
Result := A
else
Result := B;
end;


Compartilhe :

Posts Similares