poj 1004(水题)

#include<iostream>
using namespace std;
int main(){
    double s,m;
    for(int i=0;i<12;i++){
        scanf("%lf",&m);
        s += m;
    }
    printf("$%.2lf",s/12); 
    return 0;
}

 

posted @ 2021-11-05 09:51  智人心  阅读(26)  评论(0)    收藏  举报