> 其他 >
编一个程序,程序的功能是对变量的值保留2位小数,并对第三位进行四舍五入,规定h是正数
人气:400 ℃ 时间:2020-05-08 17:31:38
解答
#include
float fun ( float h )
{
long i=h*1000;
\x09if(i%10
推荐
猜你喜欢
© 2026 79432.Com All Rights Reserved.
电脑版|手机版