柠檬试题库
search
首页
计算机
公务员
驾照
关于
share
在窗体上画一个命令按钮,其名称为Command1,然后编写如下代码:Option Base 1Private Sub Command1_Click() Dim a a=Array(1, 2, 3, 4) j=1 For i=4 To 1 Step-1 s=s+a(i)* j j=j * 10 Next i Print sEnd Sub程序运行后,单击命令按钮,其输出结果是( )。
A.4321
B.1234
C.34
D.12
热度🔥890
参考答案:B
解析:
复制题目向AI提问
">
content_copy
content_copy
扫码免费计算机二级刷题
2025年计算机等级考试题库
推荐
下列运算结果中,值最大的是
下列程序的功能是计算 1 到 1000 之间所有偶数之和,程序空白处应填写的语句是 Private Sub Command_Click() Dim x As Double For i=1 To 1000 If _______ Then x = x + i End If Next i Debug.Print x End Sub
有以下程序: #include main() { int b[3][3]={0,1,2,0,1,2,0,1,2},i,j,t=1; for(i=0; i<3; i++) for(j=i;j<=i;j++) t+=b[i][b[j][i]]; printf("%d\n",t); } 程序运行后的输出结果是( )。
有以下定义和语句 struct workers { int num; char name[20]; char c; struct { int day; int month; int year;} s; }; struct workers w,*pw; pw=&w; 能给w中year成员赋1980的语句是
下面描述中,不属于软件危机表现的是( )。
标签
二级VB程序设计
sub
command1
command
按钮