怎么编写如下程序作业题private SUB Conmmd1_CLICK()___________A=_________FOR I =1TO5PRINT SPACE(6-I): ______________NEXTIEND SUB程序运行后,单击命令按钮 输出结果为 5 456 34567 2345678123456789
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/19 00:12:55
怎么编写如下程序作业题private SUB Conmmd1_CLICK()___________A=_________FOR I =1TO5PRINT SPACE(6-I): ______________NEXTIEND SUB程序运行后,单击命令按钮 输出结果为 5 456 34567 2345678123456789
怎么编写如下程序作业题
private SUB Conmmd1_CLICK()
___________
A=_________
FOR I =1TO5
PRINT SPACE(6-I): ______________
NEXTI
END SUB
程序运行后,单击命令按钮 输出结果为
5
456
34567
2345678
123456789
怎么编写如下程序作业题private SUB Conmmd1_CLICK()___________A=_________FOR I =1TO5PRINT SPACE(6-I): ______________NEXTIEND SUB程序运行后,单击命令按钮 输出结果为 5 456 34567 2345678123456789
Private Sub Command1_Click() 'Conmmd1应该是Command1吧~
Dim A As String,I As Integer
A = "123456789"
For I = 1 To 5
Print Space(6 - I); Mid(A,6 - I,I * 2 - 1) ‘PRINT SPACE(6-I):这里应该是;号吧~
Next I
End Sub