
Полиевкт
6 год назад
Пожалуйста посчитайте с Паскалем. Файл в прикрепленных.

ОТВЕТЫ

Порфирий
Oct 24, 2020
Var A,B,C,M:integer;
Begin
Read(A,B,C);
if A<B then M:=B;
if M<C then M:=C;
if (A<>B)or(B<>C)or(C<>A) then
Begin
if A=M then Write('A ');
if B=M then Write('B ');
if C=M then Write('C')
End
else Write(0)
End.
Begin
Read(A,B,C);
if A<B then M:=B;
if M<C then M:=C;
if (A<>B)or(B<>C)or(C<>A) then
Begin
if A=M then Write('A ');
if B=M then Write('B ');
if C=M then Write('C')
End
else Write(0)
End.
430
Смежные вопросы: