Page 1 of 1

Given the descend2 module below that will correctly put larger value in the first parameter and smaller value in second

Posted: Sun May 15, 2022 8:48 am
by answerhappygod
Given The Descend2 Module Below That Will Correctly Put Larger Value In The First Parameter And Smaller Value In Second 1
Given The Descend2 Module Below That Will Correctly Put Larger Value In The First Parameter And Smaller Value In Second 1 (53.61 KiB) Viewed 52 times
Given the descend2 module below that will correctly put larger value in the first parameter and smaller value in second parameter. Use it to determine the maximum and median of three test scores, s1, s2, and 53. You can call the module more than once to rearrange the three values. You can solve the problem without using descend2, but it will be more work for you. Do not provide the definition for descend2 module. Module descend2(Real Ref x, Real Ref y) // makes sure x - y when done // some steps in main Declare Real si, s2, s3, max, median Input si, s2, s3 1/ Copy/paste and provide steps below to // rearrange si, s2, and s3 so s1 >= 2 >= $3 first // Hint: call module descend2 multiple times // Final steps to find max and median Set max = Set median =