poj_1004

#include  

using namespace std;  

int main()
{
    int i;
    float all=0, temp=0;  

    for(i=0;i<12;i++)
    {
        cin>>temp;
        all+=temp;
    }  

    all+=0.005;  

    cout.precision(2);  

    //cout.setf(ios_base::showpoint);
    cout< <"$"<

Tags: ,
| Posted in 编程算法 | No Comments »