Write A Test Function That Returns The Position Of The Largest And Smallest Valu

Write a test function that returns the position of the largest and smallest values in an array of double precision numbers