下列程序段的执行结果是______。 option base 1 private eommand1_c1ick () Dim A(10) Dim E(5) For i = 1 To 10 A(i) = i Next i For j = 1 To 5 B(j) = j * 20 Next j A(5) = B(2) Print “A(5)=”; A(5) End subA.A(5)=20B.A(5)=30C.A(5)=40D.A(5)=50

下列程序段的执行结果是______。 option base 1 private eommand1_c1ick () Dim A(10) Dim E(5) For i = 1 To 10 A(i) = i Next i For j = 1 To 5 B(j) = j * 20 Next j A(5) = B(2) Print “A(5)=”; A(5) End sub

A.A(5)=20

B.A(5)=30

C.A(5)=40

D.A(5)=50


相关考题:

下列程序段的执行的结果是Dim a(10) , b(10)i=3For j=1 To 5a(j) =jb(i) =2i + jNext jPrint b(i) ; a(i)( )。A.113B.315C.311D.153

(12)下列程序段的执行结果是。 i=4 a=5 Do i=i+1 a=a+2 Loop Until i=7 Print"A=";a

下列程序段的执行结果是【 】。For I = 1 to 5CllsPrint "I =" , INEXT

下列程序段的执行结果是______。i=4a=5Doi=i+1a=a+2Loop Until i>=7Print "A=";a

下列程序段的执行的结果是 Dim a(10),b(10) i=3 For j=1 To 5 a(j) =j b(i) =2 * i + j Next j Print b(i);a(i)A.11 3B.3 15C.3 11D.15 3

下列程序段的执行结果是______。 i=0 For j = 10 To 19 Step 3 i=i+1 Next j Print IA.4B.5C.3D.6

下列程序段执行后,执行的结果是______ 。 Dim M(10) Dim N(10) i=3 For j = 1 To 5 M(j) = j N(i) = 2 * i + j Next j Print N(i); M(i)A.12 4B.11 3C.3 11D.10 2

下列程序的输出结果是______。 include class base { int x,y; public: base(int i,i 下列程序的输出结果是______。include<iostream.h>class base{int x,y;public:base(int i,int j){x=i;y=j;}virtual int add( ){return x+y;}};class three:public base{int z;public:three(int i,int j,int k):base(i,j){z=k;)int add( ){return(base::add( )+z);}};void main( ){three*q=new three(10,20,30);cout<<q->add( )<<endl;}

下列程序段的输出结果是()。 int i; for(i=5;i<10;i++) printf("%c",i+'A');A.EFGHB.FGHIC.EFGHID.FGHIJ

在窗体的通用程序段中用关键词Dim声明的是()级变量。