c++ for 循环
double length = 1.0;
for (double i_one = 0.0; i_one < length; i_one = i_one +0.1 )
{
cout<<"i_one:" << i_one << endl;
}
for (double i_two = 0.0; i_two <= length; i_two = i_two + 0.1)
{
cout <<"i_two:" << i_two << endl;
}
月经问题:浮点数10进制和二进制无法明确转换