How to write program to transpose matrix 35 67 52 50, 33 47 66 39, 47 56 66 41, 30 69 55 38 with VB program

How to write program to transpose matrix 35 67 52 50, 33 47 66 39, 47 56 66 41, 30 69 55 38 with VB program

The code is as follows: 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 "transpose matrix:" for