VB编程作业点击窗体后,先按正序打印出26个大写英文字母
Private Sub Form_Click()
Cls
For i = Asc("A") To Asc("Z")
Print Chr(i);
Next
'下面的是反序
for i=asc("Z") to asc("A") step -1
Print Chr(i);
Next
End Sub
上一篇:2d游戏人物素材怎么制作
下一篇:Python编程的一个作业
Private Sub Form_Click()
Cls
For i = Asc("A") To Asc("Z")
Print Chr(i);
Next
'下面的是反序
for i=asc("Z") to asc("A") step -1
Print Chr(i);
Next
End Sub
多重随机标签