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: 帮忙看一下怎么错了 怎么提交了n次都错了

Posted by fantasyorg at 2007-06-07 12:29:54 on Problem 1004
In Reply To:Re: 帮忙看一下怎么错了 怎么提交了n次都错了 Posted by:leegod at 2007-06-02 22:20:51
> #include<iostream.h>
> int main()
> {
> 	int i;
> 	float sum=0,a;
> 	for(i=0;i<12;i++)
> 	{
> 		cin>>a;
> 		sum=a+sum;
> 	}
> 	cout<<"$"<<sum/12;
> 	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