题目内容:
运行下列程序时,输出的结果是( )。
Private Sub Form_Click()
Dim x
x=Array("Software","and","Hardware","System")
For i=LBound(x,1)To UBound(x,1)
If Left(x(i),1)="S" Then Print x(i);
Next i
End Sub
A.Software
B.SoftwareSystem
C.出错信息
D.SoftwareandHardwareSystem
参考答案:
答案解析: