Rumus;
#include
int main()
{
int i, j;
int matrix[3][3], transpose[3][3];
printf("Transpose Matriks 3x3\n");
printf("Masukkan elemen matrix A[3x3]\n");
for (i=0; i<3; i++)
{
for (j=0; j<3; j++)
{
printf("M[%d,%d] = ", i+1, j+1);
scanf("%d", &matrix[i][j]);
}
}
/*
0 Komentar