单项选择题
单击命令按钮时,下列程序的执行结果是 Private Sub Command1_Click() BT 4 End Sub Private Sub BT(x As Integer) x=x*2+1 If x<6 Then Call BT(x) End If x=x*2 Print x; End Sub
A.15
B.16
C.17
D.18
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
设有下面的循环: i=0 While i<=1 i=i+3 Print i Wend 则运行后的输出结果是
A.1
B.2
C.3
D.4
点击查看答案&解析
单项选择题
向顺序文件Temp.txt中写入1,2,3这3个数。在程序中加入以下语句的哪一项可以使程序功能完整。 Private Sub Command1_Click() Open c: Temp.txt ,Output As #1 For i=0 To 3 ______ Next Close #1 End Sub
A.Print #1,Temp.txt
B.Get #1,i
C.Print #1,i
D.Unit #1,i
点击查看答案&解析
相关试题
在窗体上画一个命令按钮(其Name属性为Comm...
有如下的程序: Private Sub Command1...
单击命令按钮时,下列程序的执行结果是 Pr...
激活菜单栏的快捷键是
引用列表框(List1)最后一个数据项应使用