daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void Sortowanie( int tab[], int size )
  2. {
  3.     int k;
  4.     for( int i = 0; i < size; i++ )
  5.     {
  6.         k = i;
  7.         for( int j = i + 1; j < size; j++ )
  8.         if( tab[ j ] < tab[ k ] )
  9.              k = j;
  10.        
  11.         swap( tab[ k ], tab[ i ] );
  12.     }
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top