Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:谁能告诉我为什么是rtine error?

Posted by wyu_freerll at 2007-10-19 10:21:56 on Problem 1004
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator