DIM a(4, 4)
FOR i = 1 TO 4
FOR j = 1 TO 4
INPUT "vvedite element ", a(i, j)
NEXT
NEXT
PRINT "matrica "
FOR i = 1 TO 4
FOR j = 1 TO 4
PRINT a(i, j);
NEXT
PRINT
NEXT
min = 1E+38
FOR i = 1 TO 4
s = 0
FOR j = 1 TO 4
s = s + a(i, j)
NEXT
IF s < min THEN min = s: st = i
NEXT
PRINT "minimalnaya suumma v stroke "; st; " znachenie summy="; min