poj1004[url]http://poj.org/problem?id=1004[/url]
super water
super water
#include <iostream>
using namespace std;
int main()
{
double ans=0;
for(int i=0;i<12;i++)
{
double temp;
cin>>temp;
ans+=temp;
}
ans/=12;
cout.setf(ios_base::fixed);
cout.setf(ios_base::showpoint);
cout.precision(2);
cout<<"$"<<ans<<endl;
return 0;
}