看不清你的提问中yi的具体值,假设是a到b, x的值假设为c
s=0
x=c
for xi=1 to 10
for yi=a to b
s=s+xi*x*yi
next yi
next xi
print s