| ||||||||||
| 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 | |||||||||
求和#include <stdio.h>
int main()
{
double a[4];
double sum=0;
int i;
for(i=0;i<4;i++)
{ if(a[i]!='$')
scanf("%f\n",&a[i]);
break;
}
for(i=0;i<4;i++)
sum+=a[i];
printf("%.15f\n",sum);
return 0;
}
不知道怎么了
就是交不上去
大家帮帮忙呗
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator