怎么设置精度?
头文件<iomanip>
(<<fixed )<< setprecision(2)
不说输入数据有多少个,只说停止输入条件,用
while(true){
if(截止条件)
break;
}