INPUT "kolichestvo strok=", n
INPUT "kolichestvo stolbcov=", m
DIM a(n, m)
INPUT "kakuyu stroku vychitaem=", v
INPUT "krome stroki=", k
RANDOMIZE TIMER
PRINT "ishodnyj massiv"
FOR i = 1 TO n
FOR j = 1 TO m
a(i, j) = INT(RND * 100)
PRINT a(i, j);
NEXT
PRINT
NEXT
FOR i = 1 TO n
IF i <> k AND i <> v THEN
FOR j = 1 TO m
a(i, j) = a(i, j) - a(v, j)
NEXT
END IF
NEXT
FOR i = 1 TO m
a(v, i) = 0
NEXT
PRINT "novyj massiv"
FOR i = 1 TO n
FOR j = 1 TO m
PRINT a(i, j);
NEXT
PRINT
NEXT