题型:综合题 题类:常考题 难易度:普通
浙江省高中信息技术 VB基本语句同步练习
Private Sub Command1_Click()
Dim s As Single,x As Single,n As Integer,i As Integer
Randomize
List1.Clear
s=Val(Text1.Text)
n=
For i=1 To
x=Int((Rnd()*s/(n-i)+0.005)*100)/100
List1.AddItem Str(x)
s=
Next i
x=Int((s+0.005)*100)/100
List1.AddItem Str(x)
End Sub
试题篮