#include <stdio.h>main(){ float x; scanf("%f",&x); x=(int)(x*100+0.5)/100.0; printf("%0.3f",x);}#include <stdio.h>main(){double x; scanf("%f",&x); x=(int)(x*100+0.5)/100.0; printf("%0.3f",x);}
- 2 回答
- 1 关注
- 1319 浏览
添加回答
举报
0/150
提交
取消