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 D00086 at 2008-03-24 10:50:33 on Problem 1004
#include "stdio.h"
main()
{
	int i=1;
	float sum,ave,xi;
    for(;i<=12;i++)
    scanf("%.2f",xi);
    sum+=xi;
    ave=sum/12.0;
    printf("$%.2f",ave);
	return 0
}

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