用vb程序将矩阵35 67 52 50,33 47 66 39,47 56 66 41,30 69 55 38转置 ,怎么写程序.
问题描述:
用vb程序将矩阵35 67 52 50,33 47 66 39,47 56 66 41,30 69 55 38转置 ,怎么写程序.
答
不需要任何控件,只在窗口足够大就可以!代码如下:Dim A(3,3) As Integer,B(3,3) As IntegerDim F() As Variant,M As Integer,N As Integer,I As Integer,J As IntegerPrivate Sub Form_Click()Print "转置矩阵:"For...