更多"下列程序段的执行结果为 【13】 。 Dim A (10,10) "的相关试题:
[单项选择]下列程序段的执行结果为 ______。
Dim m(3,3)As Integer
Dim i As Integer
Dim j As Integer
Dim K As Integer
For i=1 To 3
m(i,i)=i
Next
For i=0 To 3
For j=0 To 3
x=x+m(i,j)
Next
Next
Print x
A. 3
B. 4
C. 5
D. 6
[单项选择]下列程序段的执行结果为______。
Dim m(3,3)As Integer
Dim i As Integer
Dim j As Integer
Dim x As Integer
For i=1 To 3
m(i,i)=i
Next
For i=0 To 3
For j=0 To 3
x=x+m(i,j)
Next
Next
Print x
A. 3
B. 4
C. 5
D. 6
[填空题]下列程序段的执行结果为 【13】 。
Dim A (10,10)
For i = 2 To 4
For j =4 To 5
A(i,j) =i*j
Next
Next
Print A (2,5) +A(3,4) +A(4,5)
[填空题]下列程序段的执行结果为 【13】 。
Dim A (10,10)
For i = 2 To 4
For j =4 To 5
A(i,j) =i*j
Next
Next
Print A (2,5) +A(3,4) +A(4,5)
[填空题]下列程序段的执行结果为 (7) 。
Dim A(10,10)
For i=2 To 4
For i=4 To 5
a(i,j)=i*j
Next j
Next i
Print A(2,5)+A(3,4)+A(4,5)
[填空题]下列程序段的执行结果为______。
Dim A (10,10)
For i = 2 To 4
For j =4 To 5
A(i,j) =i*j
Next
Next
Print A (2,5) +A(3,4) +A(4,5)
[单项选择]下列程序段的执行结果为______。
Dim m(3,3)As Integer
Dim i As Integer
Dim j As Integer
Dim x As Integer
For i=1 To 3
m(i,i)=i
Next
For i= 0 To 3
For j= 0 To 3
x=x +m(i,j)
Next
Next
Print x
A. 3
B. 4
C. 5
D. 6
[填空题]下列程序段的执行结果为______。
Dim A(10,10)
For i=2 To 4
For j=4 To 5
A(i,j) =i*j
Next
Next
Print A(2,5) +A(3,4) +A(4,5)
[填空题]下列程序段的执行结果为______。
Dim A(10,10)
For i=2 To 4
For j=4 To 5
A(i,j) =i*j
Next
Next
Print A(2,5) +A(3,4) +A(4,5)
[单项选择]下列程序执行后,执行的结果是______ 。
Dim M(2)
For i = 1 To 2
M(i) = 0
Next i
k=2
For i = 1 To k
For j = 1 To k
M(j) = M(i) + 1
Print M(k):
Next j
Next I
A. 1234
B. 0123
C. 0223
D. 2345