Ответы
Ответ дал:
0
var
a,b,c:integer;
s:real;
begin
read(a,b,c);
if (a>b)and (a>c) then
s:=(b+c)/2else
if (c>a)and (c>b) then
s:=(b+a)/2
else
if (b>a)and (b>c) then
s:=(a+c)/2;
writeln(s);
end.
a,b,c:integer;
s:real;
begin
read(a,b,c);
if (a>b)and (a>c) then
s:=(b+c)/2else
if (c>a)and (c>b) then
s:=(b+a)/2
else
if (b>a)and (b>c) then
s:=(a+c)/2;
writeln(s);
end.
Вас заинтересует
2 года назад
2 года назад
8 лет назад
8 лет назад
10 лет назад
10 лет назад
10 лет назад