在C++中,对浮点变量 float f,则语句 cin >> f; cout << (f<1); 在输入是 2e-1 时,输出是0。
float f
cin >> f; cout << (f<1);
2e-1
{{ select(1) }}
不区分大小写,点击图片可更换