Advertisement
Josif_tepe

Untitled

Mar 26th, 2021
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int mat[5][5]; // napravi tabela koja ke ima 5 redici i 5 koloni
  8.    
  9.     mat[0][0] = 5;
  10.     mat[0][1] = 3;
  11.     mat[3][2] = 10;
  12.  
  13.    
  14.     cout << mat[0][0] << endl;
  15.     cout << mat[0][1] << endl;
  16.     cout << mat[3][2] << endl;
  17.     return 0;
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement