Write a user-defined function (UDF) named order that takes t…
Write a user-defined function (UDF) named order that takes three numeric input arguments: a, b, and c. The function must determine the relative order of the three values and return three outputs: Max – the largest of the three values Middle – the value that is neither the largest nor the smallest Min – the smallest of the three values If the function is called as: [Max, Middle, Min] = order(7, 2, 5); The function must return: Max = 7Middle = 5Min = 2
Read Details