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 |
记录下来#include <iostream> #include <stdio.h> using namespace std; int main() { float month,sum; sum=0; int i; i=1; while(i<=12) { cin>>month; sum+=month; i++; } sum=sum/12.0; printf("$%.2f",sum); return 0; } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator