dim a(6) for i=0 to 6 a(i)=i+1 next for i=0 to 6 count=count+a(i)+1 next response.write countdim a(6)for i=0 to 6a(i)=i+1nextfor i=0 to 6count=count+a(i)+1nextresponse.write count结果?

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 01:34:21
dima(6)fori=0to6a(i)=i+1nextfori=0to6count=count+a(i)+1nextresponse.writecountdima(6)fori=0to6a(i)=i

dim a(6) for i=0 to 6 a(i)=i+1 next for i=0 to 6 count=count+a(i)+1 next response.write countdim a(6)for i=0 to 6a(i)=i+1nextfor i=0 to 6count=count+a(i)+1nextresponse.write count结果?
dim a(6) for i=0 to 6 a(i)=i+1 next for i=0 to 6 count=count+a(i)+1 next response.write count
dim a(6)
for i=0 to 6
a(i)=i+1
next
for i=0 to 6
count=count+a(i)+1
next
response.write count
结果?

dim a(6) for i=0 to 6 a(i)=i+1 next for i=0 to 6 count=count+a(i)+1 next response.write countdim a(6)for i=0 to 6a(i)=i+1nextfor i=0 to 6count=count+a(i)+1nextresponse.write count结果?
HGRFFDSSAA

求结果dim a(6) for i=0 to 6 a(i)=i+1 next for i=0 to 6 count=count+a(i)+1 next response.Write count求结果dim a(6)for i=0 to 6a(i)=i+1nextfor i=0 to 6count=count+a(i)+1nextresponse.Write count DIM AS INTEGER A(6),I,T,J,P T=0 FOR I=1 TO 6:A(I)=7-I:NEXT FOR I=1 TO 5 FOR J=1 TO 5 IF A(J)>A( Dim a(4) s=0 For i=1 to 4 s=s+a(i) Next i Dim a(1 To 10) As Integer Dim i As Integer a(1) = 1 For i = 2 To 10 a(i) = a dim a(6) for i=0 to 6 a(i)=i+1 next for i=0 to 6 count=count+a(i)+1 next response.write countdim a(6)for i=0 to 6a(i)=i+1nextfor i=0 to 6count=count+a(i)+1nextresponse.write count结果? dim i as integer dim sum as integer sum=0 for i=0 to 5 sum=sum+i next sum=? Dim a, i% a=array(1,2,3,4,5,6,7) For i =Lbound(a) to Ubound(a) a(i)=a(i) *a(i) next i print a(i)下标越界了,为什么啊 49 B 0 C 不确定 D 程序出错 选哪个呢?为什么?VB程序 Dim aa=Array(1,2,3,4,5,6,7) For i =Lbound (0) TO Ubound(a) a(i)=a(i)*a(i) Next i Print a(i)上面打错了。是For i =Lbound (a) TO Ubound(a) VB程序如下:Dim a a = Array(1,2,3,4,5,6,7,8) i = 0 For k = 100 To 90 Step -2完全看不懂...要详解..VB程序如下:Dim aa = Array(1,2,3,4,5,6,7,8)i = 0 For k = 100 To 90 Step -2s = a(i)^2If a(i) > 3 Then Exit Fori = i + 1Next kPrint k; a( Dim a a=Array(1,2,3,4,5,6,7) For i=Lbound (a) To Ubound (a) a(i)=a(i)*a(i) Print a(i 下列程序段的执行结果为 dim a(5) for i=1 to 5 a(i)=i*i next i print a(i-1) A) 5 B) 25 C) 0 D) 16 我写这个程序时 dim a(10)as interger dim ias interger for i= 10 to 14 a(i)=2i next i 在2i这里出了问 ..Dim a() a=Array(1,3,5,7,9) s=0 For i=1 To 4 s=s*10+a(i) Next i Print s 为啥答案是3579 For a = 0 To ListBox1.Items.Count - Dim i As Integer Dim x As Integer For i = 0 To ListBox1.Items.Count - x = x + CInt(ListBox1.Next MessageBox.Show((x /ListBox1.Items.Count.帮忙解释下这几句话的意思 执行下列程序段后的输出结果是dim i,j,a as integerfor i=0 to 2for j=0 to1s=s+i*jnext jnext i 2.下面程序段运行后输出的结果是________.VB.NET题Dim i As IntegerDim a() As Integer={1,2,3,4,5,6,7,8,9}For i=0 To UBound(a)a(i)=a(i)*a(i)Next iMsgBox(a(2)) VB练习题7道,七道全讲完才行一、Private Sub Command1_Cilck()Dim a(4,4)For i = 1 To 4For j = 1 To 4Next jNext iFor j = 3 To 4For j = 3 To 4Print a(j,i);Next jEnd Sub9 1210 13二、Private Sub Form _Click()Dim a(10),p(3)As Integerk = 5For i private sub command1_click( ) dim a a=array(1,2,3,4) j=1:s=0 for i=4 to 1 step -1 s=s + a(i)*j j=