23题 Dim n As Integer Dim s As Double Private Sub Form_Load() n = Val(InputBox("请输入n")) Me.Show Print n s = 1 Me.Height = 20000 For j = 2 To n Print j; If j Mod 2 = 0 Then s = s - 1 / j Print j; s Else s = s + 1 / j Print j; s End If Next j Print s End Sub