#include <stdio.h>
int main(int argc, char**argv)
{
double sum = 0;
int n = 12;
float in;
while (n--)
{
scanf("%f", &in);
sum += in;
}
printf("$%3.2f\n", sum / 12);
return 0;
}
1004
最新推荐文章于 2024-07-21 10:08:55 发布