if 函数(九九乘法表) 怎么做
发布网友
发布时间:2022-05-24 12:31
我来回答
共3个回答
热心网友
时间:2023-10-13 08:47
'添加窗体Form1,然后添加如下代码:
Private Sub Form_Load()
Me.AutoRedraw = True
Dim i, j As Integer
Print "九九乘法表 "
Print "*1 2 3 4 5 6 7 8 9"
For i = 1 To 9
For j = 1 To i
Print i & " " & j & "*" & i & "=" & i * j & " ";
Next
Print
Next
End Sub
热心网友
时间:2023-10-13 08:47
'添加窗体Form1,添加下代码:
Private Sub Form_Load()
Me.AutoRedraw = True
Dim i, j As Integer
Print "九九乘法表 "
Print "*1 2 3 4 5 6 7 8 9"
For i = 1 To 9
For j = 1 To i
Print i & " " & j & "*" & i & "=" & i * j & " ";
Next
Print
Next
End Sub
热心网友
时间:2023-10-13 08:48
你要告诉我你想用什么语言来写呀