Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cout<<"Podaj ktory wiersz ma zostac posortowany :";
- cin>>m;
- for(k=0;k<n;k++)
- {
- max=A[m-1][k];
- for(j=1;j<n;j++)
- {
- if(A[m-1][j]>max)
- max=A[m-1][j];
- a=A[m-1][j];
- A[m-1][j]=B[k];
- B[k]=a;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement