dim i,s as integer (先定义两个变量i,s)s=0(给s赋初值)for i=1 to 49 step 2 (开始循环,i从1开始,步长为2,到49结束)s=s+i^2 (把s与i^2的和再赋给s)next iend
s=0for i=1:2:49s=i^2+s;end