• 2021-04-14 问题

    以下程序输出结果是()DimiAsIntegerDima()AsIngeger={1,2,3,4,5}Fori=LBound(a)toUBound(a)a(i)=a(i)*a(i)NextiConsole.WriteLine(a(i))

    以下程序输出结果是()DimiAsIntegerDima()AsIngeger={1,2,3,4,5}Fori=LBound(a)toUBound(a)a(i)=a(i)*a(i)NextiConsole.WriteLine(a(i))

  • 2022-06-10 问题

    a(LBound(a))和a(UBound(a))的值分别是_______.Dima(-1To6)Fori=LBound(a)ToUBound(a)a(i)=iNexti A: 00 B: -50 C: -16 D: 06

    a(LBound(a))和a(UBound(a))的值分别是_______.Dima(-1To6)Fori=LBound(a)ToUBound(a)a(i)=iNexti A: 00 B: -50 C: -16 D: 06

  • 2022-06-06 问题

    有如下程序代码,输出结果是________。Dima()a=Array(1,2,3,4,5)fori=Lbound(a)toUbound(a)printa(i);nextI A: 12345 B: 01234 C: 54321 D: 43210

    有如下程序代码,输出结果是________。Dima()a=Array(1,2,3,4,5)fori=Lbound(a)toUbound(a)printa(i);nextI A: 12345 B: 01234 C: 54321 D: 43210

  • 2021-04-14 问题

    有如下程序:Constn=-5Constm=6Dima(nTom)AsIntegerFori=LBound(a,1)ToUBound(a,1)a(i)=iNextiPrinta(LBound(a,1));a(UBound(a,1))运行后输出的结果为()。

    有如下程序:Constn=-5Constm=6Dima(nTom)AsIntegerFori=LBound(a,1)ToUBound(a,1)a(i)=iNextiPrinta(LBound(a,1));a(UBound(a,1))运行后输出的结果为()。

  • 2022-06-06 问题

    下面程序的输出结果为()PrivateSubCommand1_Click()Dima%(1To5),b%(2To10),i%,t1#,t2#Fori=1To5a(i)=iNextit1=tim(a())Print"t1=";t1EndSubFunctiontim(a()AsInteger)Dimt#,i%t=1Fori=LBound()ToUBound()t=t*a(i)Nextitim=tEndFunction A: t1=10 B: t1=12 C: t1=120 D: 120

    下面程序的输出结果为()PrivateSubCommand1_Click()Dima%(1To5),b%(2To10),i%,t1#,t2#Fori=1To5a(i)=iNextit1=tim(a())Print"t1=";t1EndSubFunctiontim(a()AsInteger)Dimt#,i%t=1Fori=LBound()ToUBound()t=t*a(i)Nextitim=tEndFunction A: t1=10 B: t1=12 C: t1=120 D: 120

  • 1