对下面程序,单击窗体后,在文本框Text1和Text2中显示的内容分别是什么?
ProvateSubForm_Click()DimxAsInteger,yAsIntegerX=1:Y=5DoWhilex<15Y=y+xX=x+2LoopText1.T...
Provate SubForm_Click()
Dim x As Integer, y As Integer
X = 1 : Y =5
Do While x < 15
Y=y + x
X=x+2
Loop
Text1.Text=x
Text2.Text=y
End Sub
1px;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA'>Printk,b 展开
Dim x As Integer, y As Integer
X = 1 : Y =5
Do While x < 15
Y=y + x
X=x+2
Loop
Text1.Text=x
Text2.Text=y
End Sub
1px;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA'>Printk,b 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询