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:longhun at 2006-04-08 13:47:27 > main() > { > float a,s=0; > int i,n; > float c[11]; > for(i=0;i<12;i++) > { > scanf("%f",&c[i]); > s=s+c[i]; > printf("\n"); > } > scanf("%f",&a); > printf("%.2f",(float)(s+a)/12.00); > } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator