
Такой вариант не сгодится?
Код: Выделить всё
function IsEquilateralTriangle(a,b,c: Real): Boolean;
begin
Result := (a>0) and (a=b) and (b=c);
end;
Модераторы: Хыиуду, MOTOCoder, Medved, dr.Jekill
Код: Выделить всё
function IsEquilateralTriangle(a,b,c: Real): Boolean;
begin
Result := (a>0) and (a=b) and (b=c);
end;