摘要: 【题目一 矩阵的转置】接收用户输入的3行列的矩阵,编写一个函数对该矩阵进行转置操作。例如:经过转置后,,输出为;程序源码: 1: public class ZhunShuZu 2: { 3: public static void main(String[] args) 4: { 5: Scanner sc=new Scanner(System.in); 6: int[][] n=new int [3][3]; 7: for(int i=0;i<3;i++) 8: ... 阅读全文
posted @ 2012-05-15 12:42 寻梦启示 阅读(2177) 评论(2) 推荐(1) 编辑