Question: Write a function called order that has two inputs, in1 and in2, and two outputs, out1 and out2. out1 should be the lower value of
Write a function called order that has two inputs, in1 and in2, and two outputs, out1 and out2. out1 should be the lower value of in1 and in2. out2 should be the higher value of in1 and in2. Note that if both inputs are the same, both outputs are the same. You can accomplish this task any way you see fit.
code to call your function
[o1, o2] = order(5,10)
[o1, o2] = order(1.1, 0.5)
Assessment
Rondom Numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
