I did but it did not work:
program teste;
uses crt;
var
iMat: array [1..3,1..3] of integer;
iLin, iCol: integer;
begin
write ('Digite os números da matriz: ');
for iLin:=1 to 3 do
begin
for iCol:=1 to 3 do
read (iMat[iLin,iCol]);
end;
clrscr;
for iLin:=1 to 3 do
begin
for iCol:=1 to 3 do
gotoxy (iCol,iLin); write (iMat[iLin,iCol]);
end;
readkey;
end.
How to solve?