Private Sub Command1_Click()
Dim i As Integer
Dim s As ‘(s变量存放总和,此处定义它为单精度变量类型)
For i=1 To
s=
Next i
Print s
End Sub