vb题:输出九乘九表的上三角和下三角
3个回答
展开全部
都不小是你说的上三角,和下三角是什么意思
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
北京埃德思远电气技术咨询有限公司
2023-08-25 广告
2023-08-25 广告
"整定计算的工作步骤,大致如下:1.确定整定方案所适应的系统情况。2.与调度部门共同确定系统的各种运行方式。3.取得必要的参数与资料(保护图纸,设备参数等)。4.结合系统情况,确定整定计算的具体原则。5.进行短路计算。6.进行保护的整定计算...
点击进入详情页
本回答由北京埃德思远电气技术咨询有限公司提供
展开全部
Private Sub Form_Click()
Dim a As Integer
Dim b As Integer
Dim c As String
For a = 1 To 9
c = ""
For b = 1 To a
c = c & a & "×" & b & "=" & a * b & vbTab
Next b
Print c
Next a
Print
For a = 1 To 9
c = ""
For b = a To 9
c = c & a & "×" & b & "=" & a * b & vbTab
Next b
Print c
Next a
print
For a = 1 To 9
c = ""
For b = a To 9
c = c & a & "×" & b & "=" & a * b & vbTab
Next b
Print Spc((a - 1) * 8); c
Next a
Print
End Sub
Dim a As Integer
Dim b As Integer
Dim c As String
For a = 1 To 9
c = ""
For b = 1 To a
c = c & a & "×" & b & "=" & a * b & vbTab
Next b
Print c
Next a
For a = 1 To 9
c = ""
For b = a To 9
c = c & a & "×" & b & "=" & a * b & vbTab
Next b
Print c
Next a
For a = 1 To 9
c = ""
For b = a To 9
c = c & a & "×" & b & "=" & a * b & vbTab
Next b
Print Spc((a - 1) * 8); c
Next a
End Sub
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
上三角
Private Sub Form_Click()
Dim i, j As Integer
Dim s As String
Print Tab(35); "九九乘法表"
For i = 1 To 9
For j = i To 9
s = i & "×" & j & "=" & i * j
Print Tab((j - 1) * 9 + 2); s;
Next j
Print
Next i
End Sub
-----------------------------------------
下三角
Private Sub Form_Click()
Dim i, j As Integer
Dim s As String
Print Tab(35); "九九乘法表"
For i = 1 To 9
For j = 1 To i
s = i & "×" & j & "=" & i * j
Print Tab((j - 1) * 9 + 2); s;
Next j
Print
Next i
Print
Print
End Sub
看看 有什么不同
Private Sub Form_Click()
Dim i, j As Integer
Dim s As String
Print Tab(35); "九九乘法表"
For i = 1 To 9
For j = i To 9
s = i & "×" & j & "=" & i * j
Print Tab((j - 1) * 9 + 2); s;
Next j
Next i
End Sub
-----------------------------------------
下三角
Private Sub Form_Click()
Dim i, j As Integer
Dim s As String
Print Tab(35); "九九乘法表"
For i = 1 To 9
For j = 1 To i
s = i & "×" & j & "=" & i * j
Print Tab((j - 1) * 9 + 2); s;
Next j
Next i
End Sub
看看 有什么不同
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询