Advertisement
MeehoweCK

Untitled

Dec 14th, 2020
637
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. const int N = 20;
  6.  
  7. void wypisz_tablice(int tablica[][N])
  8. {
  9.     for(int i = 0; i < N; ++i)
  10.     {
  11.         for(int j = 0; j < N; ++j)
  12.             cout << tablica[i][j] << '\t';
  13.         cout << endl;
  14.     }
  15. }
  16.  
  17. int main()
  18. {
  19.     int tablica[N][N];
  20.     wypisz_tablice(tablica);
  21.     return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement