
Rertf
5 год назад
Пожалуйста посчитайте пожалуйста 2)

ОТВЕТЫ

Chase Edward
Oct 24, 2020
program triangleexist;
var a, b, c: real;
exist: boolean;
begin
read(a, b, c);
exist:=true;
if a > b and a > c then
exist:=false;
if b > a and b > c then
exist:=false;
if c > a and c > b then
exist:=false;
if exist = true then
writeln('Существует');
else
writeln('Не существует');
end.
var a, b, c: real;
exist: boolean;
begin
read(a, b, c);
exist:=true;
if a > b and a > c then
exist:=false;
if b > a and b > c then
exist:=false;
if c > a and c > b then
exist:=false;
if exist = true then
writeln('Существует');
else
writeln('Не существует');
end.
555
Смежные вопросы: