#include <stdio.h> float Max = 0, Min = 0; int main() { float average(float
array[], int n); float ave, score[10]; int i; for(i = 0; i < 10; i++)
scanf("%f",&score[i]); ave = average(score, 10); printf("max = %6.2f\nmin =
%6.2f\naverage = %6.2f\n", Max, Min, ave); return 0; } float average(float
array[], int n) { int i; float aver, sum = array[0]; Max = Min = array[0];
for(i = 1; i < n; i++) { if(array[i] > Max) Max = array[i]; else if(array[i] <
Min) Min = array[i]; sum = sum + array[i]; } aver = sum/n; return aver; }

Technology
©2020 ioDraw All rights reserved
LeetCode quick get start ① —— Array series ( Often asked in an interview , Suggested collection ) Apple iPhone 12 Price leakage : The official highest price is close to 1 Ten thousand yuan ( Essence )2020 year 6 month 26 day C# Class library Ip Address help class spark.sql.shuffle.partitions and spark.default.parallelism The difference between flutter study -- Search box NVIDIA official apology : Robots are sold out RTX 3080django Do not close CSRF middleware , Custom through CSRF Tested post request 【 Deep learning 】 Target detection in progress IOU The concept and calculation of ( Essence )2020 year 6 month 26 day C# Class library DataTable( Extension method ) Can Huawei Hongmeng system and Android , Apples compete against each other ?