Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re: 帮忙看一下怎么错了 怎么提交了n次都错了In Reply To:Re: 帮忙看一下怎么错了 怎么提交了n次都错了 Posted by:leegod at 2007-06-02 22:13:14 #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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator