填空题

下面的程序要计算1+2+…+10,请补充完整。其中s是单精度类型的变量。 Dim x as Integer, s as Single s=0 For x=1 to 10 s= 【15】 Next x

【参考答案】

s+x