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 y316555306 at 2008-11-05 10:42:21 on Problem 1004
#include<stdio.h>
int main()
{
    int i;
    float month[13],m=0.00,n;
    for(i=1;i<13;i++)
    { 
		scanf("%f\n",&month[i]);
		m=month[i]+m;

    }
    n=m/12;
    printf("$%f\n",n);
}

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