Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- // tablica dwuwymiarowa:
- int tab[3][3];
- for(int i = 0; i < 3; ++i)
- for(int j = 0; j < 3; ++j)
- {
- cout << "Podaj liczbe do tablicy: ";
- cin >> tab[i][j];
- }
- for(int i = 0; i < 3; ++i)
- {
- for(int j = 0; j < 3; ++j)
- cout << tab[i][j] << '\t';
- cout << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment