已采纳 邵逸儒 中级天翼 float a,b,c,d; 输入a,b,c; a等于12.05*a; b等于20.01*b; c等于9.99*c; d等于a+b+c; printf("%.1f\n",(int)(d*10+0.5)/10.0);