Create TransposeMatrix.c
parent
9adddfce29
commit
f5f4b8d894
|
@ -0,0 +1,11 @@
|
|||
#include <stdio.h>
|
||||
int main () {
|
||||
int a,b,c,d,e,f,g,h,i;
|
||||
scanf("%d %d %d",&a, &b, &c);
|
||||
scanf("%d %d %d",&d, &e, &f);
|
||||
scanf("%d %d %d",&g, &h, &i);
|
||||
|
||||
printf("%d %d %d\n",a,d,g);
|
||||
printf("%d %d %d\n",b,e,h);
|
||||
printf("%d %d %d\n",c,f,i);
|
||||
}
|
Loading…
Reference in New Issue