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

帮我看看那儿错了,谢谢了

Posted by longhun at 2006-04-08 13:47:27 on Problem 1004
main()
{
  float a,s=0;
  int i,n;
  float c[11];
  for(i=0;i<=10;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:
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