【发布时间】:2017-09-09 08:26:42
【问题描述】:
为什么输出不符合预期?
#include <stdio.h>
void main(){
float a,b,c;
b=0.7;
if( b<0.7 )
printf(" It should NOT be here");
else
printf("It Should be here");
}
【问题讨论】:
-
请正确格式化您的代码并给出预期的输出,以及您得到的输出。
标签: c floating-point relational