Question: Write a function called findMiddle that takes in three parameters ( ints or floats ) and returns the number between the minimum and the maximum.

Write a function called findMiddle that takes in three parameters (ints or floats) and returns the number between the minimum and the maximum. For example, if the parameters were 0,3 and 2, the function should return 2 as it is in between the minimum (0) and the maximum (3). You can assume that all three parameters have different values when the arguments are entered.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!