- 3
If any code related matrix
display elements in vertical & diagonal form
1 Answer
0
Ok,Here's the pseudo code.
for i in 0...Rows {
for j in 0...Cols {
std::cout<<matrix[i][j]<<" ";
}
std::cout<<std::endl;
}
display elements in vertical & diagonal form