某人写了如下一段程序,求100以内的奇数和,有关这段程序的说法错误的是 Private Sub Form_Click() Dim i As Byte, sum As Integer sum = 0 For i = 1 To 100 Step 2 sum = sum + i Next i Print sum End Sub
主观题
某人写了如下一段程序,求100以内的奇数和,有关这段程序的说法错误的是 Private Sub Form_Click() Dim i As Byte, sum As Integer sum = 0 For i = 1 To 100 Step 2 sum = sum + i Next i Print sum End Sub