1         cout.setf(ios::fixed);
2         cout.precision(2);
3         cout << sum << endl;

 

posted on 2014-03-04 21:43  mobileliker  阅读(143)  评论(0编辑  收藏  举报