Objective: Write a program to read a set of number,store in an array,and display the smallest,middle value and largest number entered USING POINTERS
NOTE: 1- the user can enter up to 10 numbers
2- create a function sortNum to sort the numbers,and another function SML to determine smallest,middle and largest number
3- Array must be declared in main and passed to sortNum for sorting and then passed to SML function to "return" smallest,middle and largest numbers to main ,where it is displayed.
4- you can not deference any pointers (arrays) using [] in any function
HINT YOU CAN USE THIS PART FOR THE CODE
// sort the array
For ( ;i<8;i++)
{
For ( +1;j<9;j++)
{
If ( a[j] < a[i])
{
// exchange them double temp = a[j];
A[j] [i];
A[i] = temp;
}