Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void keitimas(int Z[][30], int eil, int stul, int &max)
- {
- max=0;
- int kiek=0;
- for (int i=0; i<eil; i++)
- {
- for (int j=0; j<stul; j++)
- {
- if(Z[j][i]>max)
- {
- max = Z[j][i];
- }
- if (Z[j][i]<max)
- {
- Z[j][i] = 0;
- }
- //fr << Z[j][i];
- }
- fr << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement