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() { float n[12]; float sum,m; int i; for(i=1;i<=12;i++) scanf("%f",&n[i]); sum=0.00; for(i=1;i<=12;i++) sum=sum+n[i]; m=sum/12; printf("$%f\n",m); return 0; } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator