percentile of an array

need a code to calculate percentile of an array in c++
Okay. Why not write it then?

We don't do homework for you. Sorry. If you have a specific problem that you'd like to ask for help with, please do, but otherwise... we don't do homework for you. :/

-Albatross
there is a prctile function in matlab which performs very effeciently, i wanted the similar kind of functionality in c++,

its just to find out if anybody has already written or is there any library with this function

no sort of homework sorry
i checked that code it gives percentile of the array. my requirement is i give an array and percent and program should return the value of that percent
Topic archived. No new replies allowed.