Question: Write a function called average _ of _ three that takes in 3 numbers, and returns the average of all three of them ( the
Write a function called averageofthree that takes in numbers, and returns the average of all three of them the average of a set of numbers is their sum divided by how many there are
After you've written the function above:In the same file, define another function called averageofthreespecial that also takes in three numbers. Based on the average of the three numbers, this function returns a number:
If the average is greater than return
Else if the average is greater than or equal and less than or equal to return
Else, return
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
