填空题

如下有一段不完整的程序段,如果要求该程序执行3次循环,则在程序中的括号里要填入 【6】 。
Private Sub Command1_Click()
x = 1
do
x=x+3
Print x
Loop Until 【6】
End Sub

【参考答案】

x>=8
<上一题 目录 下一题>
热门 试题

填空题
数据字典是各类数据描述的集合,它通常包括5个部分,即数据项、数据结构、数据流、 【5】 和处理过程。
单项选择题
有如下的程序片段,该程序片段的执行完后,共执行循环______次。Private Sub command1_ Click() total =0 Counter = 1 do Print Counter total = total + Counter Print total, 111 Counter = Counter + 1 if total >= 10 then exit do End if Loop while Counter <= 10End Sub
有如下的程序片段,该程序片段的执行完后,共执行循环______次。
Private Sub command1_ Click()
total =0
Counter = 1
do
Print Counter
total = total + Counter
Print total, "111"
Counter = Counter + 1
if total >= 10 then
exit do
End if
Loop while Counter <= 10
End Sub
相关试题
  • 下图中,图1、图2是应用程序的部分界面。...
  • 下列程序实现的功能是:当在窗体上单击时,...
  • 在窗体上建立—个名称为Text1的文本框,用...
  • 数据库系统的三级模式分别为 【4】 模式...