这道vb 输出题 我有点懵啊!+大佬快来! 50
2018-01-18
展开全部
B)
Private Sub Form_Click()
Dim i As Integer, j As Integer
For i = 1 To 5
Print Space(10 - i)
For j = 1 To i
Print CStr(j)
Next j
Next i
End Sub
C)
Private Sub Form_Click()
Dim i As Integer, j As Integer
For i = 1 To 5
Print Space(10 - i)
For j = 1 To (2 * i - 1)
Print CStr(i)
Next j
Next i
End Sub
D)
Private Sub Form_Click()
Dim i As Integer, j As Integer
For i = 1 To 5
Print Space(5)
For j = 1 To i
Print CStr(i)
Next j
Next i
End Sub
我挺想知道你用的Vb是哪个版本的,现在的Vb.net已经没这种写法了。
更多追问追答
追问
vb6.0呢 感谢了!
大佬
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询