#include <stdio.h>
int main(){
int a[3][3],i,j;
for(i=0;i<3;i=i+1)
{ for(j=0;j<3;j=j+1)
   { scanf("%d",&a[i][j]);}
} 
for(i=0;i<3;i=i+1)
{ for(j=0;j<3;j=j+1)
   { printf("%d\t",a[j][i]);
    } printf("\n");
} 
} 

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: