题干

有如下Visual Basic程序:

Private Sub Command1_Click( )

   Dim  s  As  Integer

   Dim  I  As  Integer

   S=0

   For i=1 To 10

s=s+i\7

   Next i

   Text1.text=str(s)

End sub

该程序段运行后,文本框Text1中显示____ 

上一题 下一题 0.0难度 选择题 更新时间:2018-04-05 08:45:26

答案(点此获取答案解析)

4