2 câu trả lời
Function F(x, y, z: integer): integer;
Begin
If x>=y then
If x>=z then f:=x else f:=z
Else
if y>=z then f:=y else f:=z;
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;