Advertisement
jelyslime

Print code for matrix (dynamic)

Nov 28th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. for (int i = 0; i < collums; i++) {
  2.         cout << "|";
  3.         for (int j = 0; j < collums; j++) {
  4.             cout << "\t"<< dynamicarr[i][j];
  5.  
  6.         }
  7.         cout << "|\n";
  8.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement