#include using namespace std; int kleinste( const int a[], const int i, const int n ) { int tmpKleinste = i; for(int ctr =(i+1); ctr < n; ctr++ ) { if( a[ctr] < a[tmpKleinste] ) { tmpKleinste = ctr; } } return tmpKleinste; } void verschuif( int a[], const int i, const int j ) { const int tmpGetal = a[j]; for(int ctr = j; ctr > i; ctr--) { a[ctr] = a[ctr-1]; } a[i] = tmpGetal; } void sorteer( int a[], const int n ) { int tmpKleinste = 0; for(int ctr = 0; ctr < n; ctr++) { tmpKleinste = kleinste( a, ctr, n ); cout << "Kleinste = " << tmpKleinste <