INPUT "вв. кол. элементов", N
DIM a(N)
FOR i = 1 TO N
INPUT "введите элемент ",a(i)
NEXT
FOR i = 1 TO N
IF a(i)>=-10 AND a(i)<=12 THEN k=k+1:s=s+a(i)^2
NEXT
PRINT "Сумма=";s;" Количество=";k
INPUT "вв. кол. элементов", N
DIM a(N)
FOR i = 1 TO N
INPUT "введите элемент ",a(i)
NEXT
FOR i = 1 TO N
IF a(i)>=-10 AND a(i)<=12 THEN k=k+1:s=s+a(i)^2
NEXT
PRINT "Сумма=";s;" Количество=";k