Computer science exercise

How do I write a function to make a quick sort making to pivots for

1. Geometric mean from first middle and last element of array in c++

2 Arthimetic mean from two randomly take elements of array

SAMPLE ASSIGNMENT
Powered by WordPress