#include <stdio.h>#define N 10floatfun (float*a ,intn ){}intmain(){floats[N], aver;while(scanf("%f,%f,%f,%f,%f",s,s+1,s+2,s+3,s+4)!=EOF) {aver = fun( s, 5 );printf("%5.2f\n", aver);}return0;}
90.5,72,80,61.5,55
98,72.5,78,24.5,77
67.5,78,76.5,56,99
88,62.5,45,54.5,71
71.80
70.00
75.40
64.20