This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
int m, n, c, d, matrix[10][10], trans[50][50]; | |
printf("Ingrese el número de filas y columnas (Ejemplo: 2 5): "); | |
scanf("%d%d",&m,&n); | |
printf("Ingrese los elementos de la matriz (ejemplo 1 30): \n"); | |
for(c=0;c<m;c++){ |