This laboratory exercise provides practice with arrays, in the context of procedures.
Details focus on a procedure to partition an array, with applications to sorting and searching.
In this lab, you are to write solutions to the following two problems. In each case, turn in your solutions utilizing the format for submitting assignments . Include your partition procedure in an appropriate test program, so that you can adequately check the correctness of your code. Since this quicksort is to be a general sorting procedure for any array, the integer n is used to indicate the size of the array. As in the previous problem, you should include your quicksort procedure in an appropriate test program, so that you can adequately check the correctness of your code.