Dim a a=Array(1,2,3,4,5,6,7) For i=Lbound (a) To Ubound (a) a(i)=a(i)*a(i) Print a(i
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/26 05:37:35
x)sUHTHu,*J0111111Tp/RȴI/KQHTWE525mAP(+ $`;i'>z{7x:g^.bҧ/{l@N i
Dim a a=Array(1,2,3,4,5,6,7) For i=Lbound (a) To Ubound (a) a(i)=a(i)*a(i) Print a(i
Dim a a=Array(1,2,3,4,5,6,7) For i=Lbound (a) To Ubound (a) a(i)=a(i)*a(i) Print a(i
Dim a a=Array(1,2,3,4,5,6,7) For i=Lbound (a) To Ubound (a) a(i)=a(i)*a(i) Print a(i
可以把代码粘在问题补充里
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)下标越界了,为什么啊
Dim a a=Array(1,2,3,4,5,6,7) For i=Lbound (a) To Ubound (a) a(i)=a(i)*a(i) Print a(i
vba 二维数组A(2 to 6 ,6)是什么意思?,数组元素个数怎么取?括号内逗号前后代表什么?然后,还有一个问题,dim a ()a=array(1,3,5,79).a(i)这个怎么理解
private sub command1_click( ) dim a a=array(1,2,3,4) j=1:s=0 for i=4 to 1 step -1 s=s + a(i)*j j=
Private Sub Form-Click() Dim a a = Array(1,2,3,4) j = 1 For i = 4 To 1 Step -1 s = s + a(i)Private Sub Form-Click() Dim a a = Array(1,2,3,4) j = 1For i = 4 To 1 Step -1s = s + a(i) * jj = j * 10Next IPrint sEnd Sub 1234.
VB程序如下:Dim a a = Array(1,2,3,4,5,6,7,8) i = 0 For k = 100 To 90 Step -2完全看不懂...要详解..VB程序如下:Dim aa = Array(1,2,3,4,5,6,7,8)i = 0 For k = 100 To 90 Step -2s = a(i)^2If a(i) > 3 Then Exit Fori = i + 1Next kPrint k; a(
..Dim a() a=Array(1,3,5,7,9) s=0 For i=1 To 4 s=s*10+a(i) Next i Print s 为啥答案是3579
49 B 0 C 不确定 D 程序出错 选哪个呢?为什么?VB程序 Dim aa=Array(1,2,3,4,5,6,7) For i =Lbound (0) TO Ubound(a) a(i)=a(i)*a(i) Next i Print a(i)上面打错了。是For i =Lbound (a) TO Ubound(a)
a = array(1,2,3,4,5):for k = 1 to 4:s = s + a(k)中的s = s + a(k)这条语句是什么意思?窗体上有一个命令按钮,命令按钮的单击事件如下:Private Sub command1_click()dim aa = array(1,2,3,4,5)for k = 1 to 4 s = s + a(k)nextprint
程序中 a = array(1,2,3,4,5,6,7,8,9) 是啥意思啊?array 有没有啥特别的意思?
Dim a(1 To 10) As Integer Dim i As Integer a(1) = 1 For i = 2 To 10 a(i) = a
英语翻译/com obtain nodes' information*GET,NTOT,NODE,0,COUNT*GET,Nmin,NODE,0,num,min*GET,Nmax,NODE,0,num,max*DIM,XY,ARRAY,NTOT,2*dim,nv,array,ntot*dim,nmold,array,ntot*dim,nheat,array,ntot*dim,ncenter,array,ntot*dim,ncon1,array,ntot*dim,ncon2,arr
看看哪里错了#include using namespace std;int getArrayLen(int &array){ return (sizeof(array)/sizeof(array[0]));}int main(){int a[]={2,4,24,45,4,3,2};cout
int array[2][3]={0,1,2,3,4,5} ;*array表示什么,
额····这里是什么错误?#include class array{public:array operator +(array &);array(const int *p);array();void show();private:int a[10];};array::array(){for(int i=0;i
a array of quention
vb 两个数组相加,把值赋予第三个数组Private Sub Command1_Click()Dim i As IntegerDim a(),b(),c()a() = Array(2,8,7,6,4,28,70,25)b() = Array(79,27,32,41,57,66,78,80)For i = 0 To 7c(i) = a(i) + b(i)Next iPrint c(i);End Sub我的程序如上,
指向二维数组的指针如何定义?简略如下:int arrayA[2][3] = { {1, 2 ,3},{11,22,33}};int arrayB[2][5] = {{5,6,7,8,9},{55,66,77,88,99} };现在我想定义一个变量array,当条件A成立时,array指向arrayA,当条件B成立时,array指