下列程序段的执行结果为 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
人气:253 ℃ 时间:2020-05-21 12:02:02
解答
B 25
推荐
- 下列程序的执行结果为().dim a(10),b(5) for i=1 to 10 a(i)=i next i for j=1 to 5 b(j)=j*20 next j
- 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)
- 写出下列程序的执行结果 a=3 b=1 For=1 To 3 f=a+b a=b b=f Print f Next I
- dim a(10,10) as integer for i=1 to 10 for j=1to 10 a(i,j)=i*j next j,i print a(2,2)+a(3,3)
- dim I% ,S% s=0 for I=5 to 1 s=s+i next I print “s=” ; s 怎么看的
- 3.作者在词中是怎样的形象?表达了怎样的思想感情?《江城子》
- 在电解水的实验中 实际观察到的现象是正负两极气体的体积比小于 1:2是什么原因
- 中国有名的成语典故有哪些?
猜你喜欢