1 câu trả lời
function Max(a,b,c: integer): integer;
begin
if (a>b) and (a>c) then Max:=a;
if (b>a) and (b>c) then Max:=b;
if (c>a) and (c>b) then Max:=c;
if (a=b) and (b=c) then Max:=a;
end;
function Max(a,b,c: integer): integer;
begin
if (a>b) and (a>c) then Max:=a;
if (b>a) and (b>c) then Max:=b;
if (c>a) and (c>b) then Max:=c;
if (a=b) and (b=c) then Max:=a;
end;