Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

transpose function example in c++

#include<iostream>
using namespace std;
int main()
{
  int a[10][10], transpose[10][10], row, column, i, j;
  cin>>row;
  cin>>column;
  cout<<"Enter the elements of the matrix:"<<endl;
  
  for(int i = 0; i<row; ++i){
    for(int j=0; j<column; ++j)}
  cout<<"The matrix is:"<<endl;
 
PREVIOUS NEXT
Tagged: #transpose #function
ADD COMMENT
Topic
Name
1+5 =