| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
Re:为什么过不去呢? 求指点In Reply To:为什么过不去呢? 求指点 Posted by:ghostdd1 at 2010-11-17 00:38:50 #include<cstdio>
using namespace std;
double f,sum=0;
int i;
int main()
{
for (i=0;i<12;i++)
{
scanf("%lf",&f);
sum+=f;
}
printf("$%.2lf\n",sum/12);
}
自己看
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator