Private Sub Command1_Click()
n = Val(InputBox("请输入一个大于1的自然数"))
s = 0
For i = 1 To n
s = s + 2 * i
Next i
MsgBox s
End Su