DIM a(3,3)
FOR i=1 TO 3
FOR i=1 TO 3
input "vvedite element ",a(i,j)
NEXT
NEXT
print "ishodnyj massiv "
FOR i=1 TO 3
FOR i=1 TO 3
print a(i,j);
NEXT
print
NEXT
FOR i=1 TO 3
FOR j=2 TO 3
if a(i,j)<0 then a(i,j)=a(i,j) - 4
NEXT
NEXT
print "novyj massiv "
FOR i=1 TO 3
FOR i=1 TO 3
print a(i,j);
NEXT
print
NEXT
Тестирование выполнено в программе QB64 ( Скачать )