Var mas:array [1..3,1..5] of real; minmas:array [1..3] of real; i,j:integer; begin for i:=1 to 3 do for j:=1 to 5 do read(mas[i,j]); for i:=1 to 3 do begin minmas[i]:=mas[i,1]; for j:=2 to 5 do begin if mas[i,j]<minmas[i] then minmas[i]:=mas[i,j]; end end; for i:=1 to 3 do write(minmas[i],' '); end.
minmas:array [1..3] of real;
i,j:integer;
begin
for i:=1 to 3 do
for j:=1 to 5 do
read(mas[i,j]);
for i:=1 to 3 do
begin
minmas[i]:=mas[i,1];
for j:=2 to 5 do
begin
if mas[i,j]<minmas[i] then minmas[i]:=mas[i,j];
end
end;
for i:=1 to 3 do
write(minmas[i],' ');
end.