题型:综合题 题类:常考题 难易度:普通
浙教版高一信息技术 专题五:VB程序设计
Private Sub Command1_Click()
Dim i As Integer, n As Integer
Dim s As String
s="1"
i=2
Do While i<=Val(Text1.Text)
If Then
n=n\i
s=s+"*"+Str(i)
Else
End If
Loop
Label3.Caption=Text1.Text+"="+s
End Sub
试题篮