Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int tab [5][5];
- for (int i=0;i<5;i++)
- {
- for (int j=0;j<5;j++)
- {
- tab[i][j] = i;
- if (i==j)
- cout << tab[i][j] << " ";
- }
- cout << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement