Financial Services Link Exchange Directory
Free link exchange and link building service for financial services themed websites.

insertion of Multidimensional array


Program for the insertion of Multidimensional Array

 

 

#include<iostream>

#include<conio.h> 

int main()

{

int Info[6][6];

int j,k,m,n;

cout<<"Enter the order of Array: ";

cin>>m>>n;

cout<<"Insert the elements: "<<endl;

for(j=0;j<m;j++)

{  

for(k=0;k<n;k++)

{

cin>>Info[j][k];

}

}

std::cout<<" Array: "<<endl;

for(j=0;j<m;j++)

{  

for(k=0;k<n;k++)

{

cout<<Info[j][k]<<"\t";

}

cout<<endl;

}

getch();

return 0;

}