题解 | #取近似值#
取近似值
http://www.nowcoder.com/practice/3ab09737afb645cc82c35d56a5ce802a
#include #include #include using namespace std; int main(){ float in1; cin>>in1; cout<<round(in1); return 0; }
取近似值
http://www.nowcoder.com/practice/3ab09737afb645cc82c35d56a5ce802a
#include #include #include using namespace std; int main(){ float in1; cin>>in1; cout<<round(in1); return 0; }
相关推荐