. Private Sub Command1_Click( ) D im iA s Integer,cA s Integer,nA s Integer c=0:n=10 For i=1To n If n Mod i=0Then c=c+1 Next i Text1.Text=Str(n) Text2.Text=Str(c) End Sub.
3.有程序代碼如下,輸入某數(shù)據(jù)后,輸出結(jié)果為“B”。那么輸入的數(shù)據(jù)可能是( ) Dim score As Integer score=Val(InputBox(“score:“)) If score>89 Then Print“A“ Else If score>59 Then Print“B“ Else Print“C“ End If End If