Calling partition

Hi guys.I have a problem.I need your help.
I have a array (5,91,9,12,34,3,25,41,8)
I have to show the result of calling partition with

a)center element
b)Median of the first three elements

as the pivot.

How can I do..please help.
I have to show the result of calling partition with ...
Why don't you just call it?
http://en.cppreference.com/w/cpp/algorithm/partition
Topic archived. No new replies allowed.