Finding the median

Jul 2, 2013 at 3:53pm
closed account (98qiz8AR)
I am new to programming in C++. Can somebody show me how to sort this array so I can find the median.

scores[14] = {62,70,98,71,81,99,74,80,73,88,73,72,95,71};
Last edited on Jul 4, 2013 at 2:43am
Jul 2, 2013 at 4:01pm
We normally don't do homework for a person, but since it is a homework assignment it means it definitely been done before so googling should find you an answer.
Jul 2, 2013 at 4:24pm
closed account (98qiz8AR)
I googled it, and found nothing.
Jul 2, 2013 at 5:06pm
You might want to post the code for the functions in question.
The expected output doesn't look like what should be expected to me - sure you got that right?

Also, see http://www.cplusplus.com/articles/jEywvCM9/
Topic archived. No new replies allowed.