1 2 3 4 5 6 7 8 9 10 11 12 13 14 | INPUT "vvedite kol-vo elementov ",n DIM a(n) FOR i= 1 TO n INPUT"vvedite element ",a(i) NEXT PRINT"massiv" FOR i= 1 TO n PRINT a(i); NEXT PRINT FOR i= 1 TO n IF a(i)< 0 THEN s=s+a(i) NEXT PRINT"summa=";s |