Tricky Project-Sorting Functions!

Can somebody please help me with this? We use bubble sort, so something along the lines of that... Thank you in advance, I just cannot get my head around it!

Write a program that:
•1) Creates an array containing 100 random double numbers in the [0,250) range;
•2) Sorts them in descending order;
•3) Prints the contents of the sorted vector out. The sorting should be coded as a separate function double* sort_array(double* ).

Topic archived. No new replies allowed.