Держи:
program kk;
uses crt;
var a:array [1..5,1..5] of integer;
i,j:integer;
begin
clrscr;
randomize;
for i:=1 to 5 do
begin
for j:=1 to 5 do
a[i,j]:= random(90)+10;
end;
for i:=1 to 5 do
begin
for j:=1 to 5 do
write(a[i,j],' ');
writeln
end;
writeln;
writeln;
for i:=1 to 5 do
begin
for j:=1 to 5 do
begin
if (a[i,j] > 0) and (a[i,j] mod 3 = 0) then
begin
writeln(a[i,j],' [',i, ',',j,']');
end;
end;
end;
readkey;
end.