I am using a do-while statement for a project. we are to receive 5 names, prices, and discount factors for an 'online store' and then create a menu with options like find the median price, find the average price, find the lowest price.
My question is how do I go about writing the function to call for the median? obviously, I will need to arrange the prices in ascending order and go from there-and this is where I am stuck. I am not sure how to arrange the prices in ascending numerical order.
Finding the Median
Page 1 of 11 Replies - 88 Views - Last Post: 02 October 2012 - 08:35 PM
Replies To: Finding the Median
#2
Re: Finding the Median
Posted 02 October 2012 - 08:35 PM
This is the same as the other topic you opened. Only open one topic at a time.
Page 1 of 1
|
|

New Topic/Question
This topic is locked



MultiQuote




|