Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i=index_min;i<n;i++){
- int temp_max,temp_min;
- if (a[n-1]!=min){
- temp_min=a[i];
- a[i]=a[i+1];
- a[i+1]=temp_min;
- k++;
- }
- if (a[0]!=max){
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement