Private Sub Command1_Click()
n = Val(InputBox("N="))
Print "N="n
For i = 1 To n
Print Spc(i)String(2 * (n - i) + 1, "*")
Next i
End Sub
s=""for i=7 to 1 step -2
for j=1 to i
s=s & "*"
next
print space((7-i)/2) & s
next
欢迎分享,转载请注明来源:内存溢出
Private Sub Command1_Click()
n = Val(InputBox("N="))
Print "N="n
For i = 1 To n
Print Spc(i)String(2 * (n - i) + 1, "*")
Next i
End Sub
s=""for i=7 to 1 step -2
for j=1 to i
s=s & "*"
next
print space((7-i)/2) & s
next
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)