#include #include int L=10; void swap(float* xp,float *yp){ float temp=*xp; *xp = *yp; *yp = temp; } float * SelectionSort(float* arreglo,int L){ int i,j,indmin; for(i=0;i=0;i--){ if (arreglo[i]>val) arreglo[i+1]=arreglo[i]; else { arreglo[i+1]=val; return arreglo; } } } arreglo[0]=val; return arreglo; } float * OrdenarFB(float* arreglo,int L){ float *aux=malloc(L*sizeof(float)); for (int i=0;i