Type n=array [1..5, 1..5] of Integer; var a: n; b,c,count: Integer; begin for b:=1 to 5 do for c:=1 to 5 do begin a[b,c]:=random(10); writeln('Число ',a[b,c]); end; for b:=1 to 5 do for c:=1 to 5 do begin if a[b,c]>1 then inc(count); end; writeln('Кол-во: ',count); end.
var a: n;
b,c,count: Integer;
begin
for b:=1 to 5 do
for c:=1 to 5 do
begin
a[b,c]:=random(10);
writeln('Число ',a[b,c]);
end;
for b:=1 to 5 do
for c:=1 to 5 do
begin
if a[b,c]>1 then inc(count);
end;
writeln('Кол-во: ',count);
end.