1030: 【函数】【二维数组】C语言程序设计教程(第三版)课后习题8.4

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:223 Solved:1

Description

写一个函数,使给定的一个二维数组(3×3)转置,即行列互换。

Input

一个3x3的矩阵

Output

转置后的矩阵

Sample Input Copy

1 2 3
4 5 6
7 8 9

Sample Output Copy

1 4 7 
2 5 8 
3 6 9 

Source/Category