题型:单选题 题类:模拟题 难易度:普通
浙江省名校信息技术仿真训练卷(一)
Dim P As Integer, q As Integer, S As Integer, t As Integer
p=Val(Text1.Text)
t=0
For q=P+1 To 2*p
s=(p*q)Mod(q-p)
If s=0 Then
t=t+1
End If
Next q
Label1. Caption=Str(t)
该程序段运行时,在文本框Text1中输入8,则在标签Label1中显示的内容是( )
试题篮