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:谁能告诉我为什么是rtine error?In Reply To:谁能告诉我为什么是rtine error? Posted by:dlut_student_a at 2007-05-25 20:54:47 > #include<stdio.h> > void main() > { > float a[12],b=0;//用b=0.0看看.. > int i; > for(i=0;i<12;i++) > scanf("%f",a[i]); > for(i=0;i<12;i++) > b=b+a[i]; > printf("%.2f",b/12);//用%f试试 > } Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator