diff --git a/matrix_transpose.cpp b/matrix_transpose.cpp new file mode 100644 index 00000000..c98435af --- /dev/null +++ b/matrix_transpose.cpp @@ -0,0 +1,33 @@ +#include +using namespace std; + int main() + { + int i,j,n,m; + int arr[100][100],trs[100][100]; + cout<<"Enter the number of rows and columns of matrix :"; + cin>>n>>m; + cout<<"Enter the matrix elements :"; + for(i=0;i>arr[i][j]; + } + } + for(i=0;i