Void main(void){ float num; for(num=0.0;num<=1.0;num+=0.1) Print("%f¥n",num); }
float数据不存在判等,
所以当 num< = 1.0 满足跳出循环时,
num不是==1.0,而是 >1.0