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< <"$"<

© 2009, kangzj. 版权所有.

Tags: ,
| 四月 16th, 2009 | Posted in 编程算法 |

Leave a Reply