问答题
【参考答案】
[参考范文A]
A Limit Should Not Be Put on Private C......
(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
现有如下程序: Private Sub Command1_Click() s=0 For i=1 To 5 s=s+f(5+i) Next Print s End Sub Public Function f(x As Integer) If x>=10 Then t=x+1 Else t=x+2 End If f=t End Function 运行程序,则窗体上显示的是( )。
A.38
B.49
C.61
D.70
点击查看答案
填空题
在窗体上画一个文本框、一个标签和一个命令按钮,其名称分别为Text1、Label1和Command1,然后编写如下两个事件过程:Private Sub Command1_Click()S$=InputBox( 请输入一个字符串 )Text1.Text=S$End SubPrivate Sub Text1_Change()Label1.Caption=UCase(Mid(Text1.Text,7))End Sub程序运行后,单击命令按钮,将显示一个输入对话框,如果在该对话框中输入字符串“VisualBasic”,则在标签中显示的内容是【 】。
点击查看答案
相关试题
I regret () him a thief, but I...
The curious children watched the to...
It is generally thought to be of ...
华西村的这种做法对你的择业观有何启示?
假如你到一个贫困的村寨去工作,但是村民们...