Question: c# ONLY PLEASE Create a method that return the centered average of an array of ints. The centered average is the mean average of the

c# ONLY PLEASE

Create a method that return the "centered" average of an array of ints. The centered average is the mean average of the values WITHOUT the largest and smallest values in the array. If there are multiple copies of the smallest value, we will discard all these copies when calculating the centered average. Likewise, we do the same for multiple copies of the largest value. Use int division to produce the final average. You may assume that the array can have at least one value beside the minimum number and the maximum number.

USE: static int CenteredAverage(int[] a)

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!