#include <stdio.h>
int main() {
int arr[2][3];
int i=0;
int j=0;
for (i=0;i<2;i++){
for (j=0;j<3;j++){
scanf("%d",&arr[i][j]);
}
}
for (i=0;i<3;i++){
for (j=0;j<2;j++){
printf("%d ",arr[j][i]);
}
printf("\n");
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: