标签:
#include<iostream> #include<cstring> #include<cstdio> #include<cmath> using namespace std; int main() { double a,sum; int i; sum = 0; for(i = 0;i<12;i++) { scanf("%lf",&a); sum += a; } printf("$%.2lf\n",sum/12); return 0; }
标签:
原文地址:http://www.cnblogs.com/wos1239/p/4581732.html