#include <iostream>
#include 
<cstdio>

using std :: cin;
using std :: cout;
using std :: endl;

int main()
{
    
double ans;
    
double tmp;
    ans 
= 0;
    
forint i = 0; i < 12; i++ )
    
{
        cin 
>> tmp;
        ans 
+= tmp;
    }

    cout 
<< "$" << ans / 12.0<< endl;
    
return 0;
}

posted on 2010-10-02 19:31 Vontroy 阅读(305) 评论(0)  编辑 收藏 引用 所属分类: 数学题POJ

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理