题型:综合题 题类:常考题 难易度:普通
浙江省宁波市北仑中学2018-2019学年高二上学期信息技术期初返校考试试卷
Private Sub Command1_Click()
Dim pv As Single, fv As Single, rate As Single, n As Integer
pv = Val(Text1.Text)
fv = Val(Text2.Text)
n = 1
Do While pv<fv
pv = pv * (1 + rate)
List1.AddItem "第" + Str(n) + "年" + " " + Str(pv) + "元"
Loop
End Sub
试题篮