INPUT "vvedite kol-vo strok ",n
INPUT "vvedite kol-vo stolbcov ",m
DIM a(n,m)
RANDOMIZE TIMER
PRINT"matrica"
FOR i=1 TO n
FOR j=1 TO m
a(i,j)=INT(RND*20)
PRINT a(i,j);" ";
NEXT
PRINT
NEXT
INPUT "vvedite nomer stroki ",l
IF l>n THEN PRINT"net takoy stroki":END
FOR i=l TO n-1
FOR j=1 TO m
a(i,j)=a(i+1,j)
NEXT
NEXT
PRINT "matrica bez stroki nomer ";l
FOR i=1 TO n-1
FOR j=1 TO m
PRINT a(i,j);" ";
NEXT
PRINT
NEXT