C solution
Sort the array then find average of first and last elements and return the lowest\n\n# Code\n\ndouble minimumAverage(int* nums, int numsSize) {\n    double min=
Sort the array then find average of first and last elements and return the lowest\n\n# Code\n```\ndouble minimumAverage(int* nums, int numsSize) {\n    double min=100000000;\n    for(int i =0; i <numsSize; i ++){\n        for(int j =0; j < numsSize-1; j++){\n            if(nums[j] > nums[ j+1]){\n                int temp = nums[ j];\n                nums[ j] = nums[ j+1];\n                nums[ j+1]= temp;\n            }\n        }\n    }\n    for( int i=0, j= numsSize-1;i < numsSize, j>=0; i++, j--){\n        float average  = (nums[ i]+nums[j])/2.0;\n        if( average < min){\n            min = average;\n        }\n    }\n    return min;\n\n}\n```
['C']