
10.10.2011, 13:41
|
 |
Местный
|
|
Регистрация: 09.08.2011
Адрес: г.Сургут, ХМАО
Сообщения: 453
Репутация: 7402
|
|
Код:
funcion max(a,b,c:real):real;
begin
if (a>b) and (a>c) then
result:= a
else
if b>c then result:= b
else result:= c;
end;
writeln ('max=',max(x,y,z));
min по аналогии
__________________
Google в помощь
|