下面可以正确定义2个整型变量和1个字符串变量的语句是( )
A.Dim n,m As Integer,s As String B.Dim a%,b$,C As String C.Dim a As Integer,b,C As String D.Dim x%,y As Integer,z As String
参考答案:
答案解析:
下面程序执行时,在窗体上显示的是Private Sub Command1_Click()Dim a(10)For k=1
下面程序执行时,在窗体上显示的是Private Sub Command1_Click()Dim a(10)For k=1 To 10a(k)=11-kNext