题库 高中信息

题干

下列VB程序运行时,单击Command1后,标签Label1中显示的内容是_______
Private Sub Command1_Click()
Dim s As Integer, j As Integer
s = 0
For j =" 1" To 10
If j Mod 2 <> 0 Then
s =" s" + j
End If
Next j
Label1.Caption = Str(s)
End Sub
上一题 下一题 0.99难度 填空题 更新时间:2015-08-21 03:45:46

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