I have got an array containing unique elements. I need to find out the first n largest elements in the array in the least complexity possible. The solution that I could thin
//finding the bigest number in the array// double big = x[0]; for(t=0;tbig) { big=x[t]; } } printf("\nThe bigest number is %0.2lf \n",big);