72Financial Management
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int main()
{
double money[12],average, sum;
int i;
while(scanf("%lf",&money[0]) != EOF)
{
sum = money[0];
for(i = 1; i <12; i++)
{
scanf("%lf",&money[i]);
sum += money[i];
}
average = sum / 12.0;
printf("%.2lf\n",average);
}
return 0;
}
优秀并不是终点,我要做到无可替代