Sai_Bot

sorte

Nov 25th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1.     for(i = 0; i < i-1; i++){
  2.         temp = vet[i];
  3.         for(k = 0; k < j; k++){
  4.             if(temp > vet[j]){
  5.                 aux = vet[j];
  6.                 vet[j] = vet[j];
  7.                 vet[j] = aux;
  8.             }
  9.         }
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment