Private Sub Command1_Click()Dim a As Long, b As Long, cDim i As Integer, sum As Singlea = 2b = 1For i = 1 To 20 sum = sum + a / b Print i; a; "/"; b c = a a = a + b b = cNextPrintPrintPrint sumEnd Sub