第1个回答 2009-07-12
一楼的错了!正确的为:
Dim S As Double, H As Double
S = 0
H = 100
For i = 1 To 10
S = S + H
H = H / 2
Next i
Me.Print "第十次落地时共经过" & s &"米!"
第2个回答 2009-07-16
Dim S As Double,H As Double
S = 0
H = 100
For i = 1 To 10
S = S + H
H = H / 2
Next i
Me.Print "它在第10次落地时,共经过" & s &"米。"
第3个回答 2009-07-16
Private Sub Command1_Click()
s = 100
h = 100
For i = 1 To 2
h = 100 / 2 ^ (i - 1)
s = s + h
Next i
Print "共经过:"; s
End Sub本回答被提问者采纳
第4个回答 2009-07-12
现在初中孩子的问题都这么难?!
S=0;
H=100;
S=S+H;
for i=2:10,h=h/2;S=S+2*h;end
S
h
第5个回答 2009-07-11
Dim S As Long, A As Long
S = 100
A = 100
For i = 1 To 9
S = S + A
A = A / 2
Next
MsgBox S