Salut,
algo ex
def const
integer n=.
def type mat=array of [1..n,1..n] of character
def type
t:mat
i,j: integer
begin
for i from 1 to n do
for j from 1 to n do
t[i][j]=chr(random*10 + 97)
end for
end for
End
(try this and let me know ok since I don't have the pascal program installed)
remplasser la par
t[i][j]<-- chr(97 + (aléa(27) div 1))
^_^
How to fill a matrix algorithm????