VB6.0输出九九乘法表代码
时间: 2023-03-25 10:04:06 浏览: 349
九九乘法表程序(VB6.0源代码编写)显示九九乘法表,VB6.0源代码
5星 · 资源好评率100%
以下是 VB6. 输出九九乘法表的代码:
Private Sub Command1_Click()
Dim i As Integer, j As Integer
Dim str As String
For i = 1 To 9
For j = 1 To i
str = str & j & "*" & i & "=" & i * j & " "
Next j
List1.AddItem str
str = ""
Next i
End Sub
注意:以上代码仅供参考,具体实现方式可能因环境和需求不同而有所差异。
阅读全文