Салават Буляков
function max(a,b: float):float
begin
if(a>b) then max:=a else max:=b;
end;
begin
writln('result=',max(max(a,b),max(a,c)));
end.
function GetMax(a,b,c: float):float;
begin
if a>b then if a>c then result := a
else ...
end;
begin
writln('result = '', GetMax(a,b,c));
readln;
end;
if (x>y) and (x>z) then max:=x;
аналогично остальное