+ 3
How l print a matrix (2D array) in it's format ?
For example: matrix[2][2]={1 , 2 , 3 , 4} , I want to print it like : 1 2 3 4
4 odpowiedzi
+ 2
https://code.sololearn.com/cxTAmsrtz3Ka/?ref=app
Its an eample to illustrate 2d array
+ 4
This is my Solution.
https://code.sololearn.com/c70imlWwupM7/?ref=app
+ 1
I think u can print the matrix in matlab!!
+ 1
for(int i=0;i<2;++i){
for(int j=0;j<2;++j)
count<<matrix[i][j]<<" ";
cout<<endl;
}