下列程序的执行结果为().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
来源:学生作业帮助网 编辑:作业帮 时间:2024/06/25 19:34:48
![下列程序的执行结果为().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](/uploads/image/z/9303417-9-7.jpg?t=%E4%B8%8B%E5%88%97%E7%A8%8B%E5%BA%8F%E7%9A%84%E6%89%A7%E8%A1%8C%E7%BB%93%E6%9E%9C%E4%B8%BA%EF%BC%88%EF%BC%89.dim+a%2810%29%2Cb%285%29+for+i%3D1+to+10+a%28i%29%3Di+next+i+for+j%3D1+to+5+b%28j%29%3Dj%2A20+next+j)
下列程序的执行结果为().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(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(10),b(5) for i=1 to 10 a(i)=i next i for j=1 to 5 b(j)=j*20 next j
应该是没有什么结果,因为没有输出语句
在内部数组a(1)=1 ……a(10)=10
b(1)=20 b(2)=40 ……b(5)=100