INPUT a
INPUT b
INPUT c
PRINT "x y"
FOR x=-0.5 TO 0.5 STEP 0.1
y=a*x^2+b*x+c
k=k+1
PRINT x,y
s=s+y
NEXT
PRINT"srednee znachenie y=";s/k
INPUT a
INPUT b
INPUT c
PRINT "x y"
FOR x=-0.5 TO 0.5 STEP 0.1
y=a*x^2+b*x+c
k=k+1
PRINT x,y
s=s+y
NEXT
PRINT"srednee znachenie y=";s/k