Create TransposeMatrix.c

master
MD15 2020-04-10 12:11:09 +07:00 committed by GitHub
parent 9adddfce29
commit f5f4b8d894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -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);
}