the source file: #include<stdio.h> #include<stdlib.h> int main() { float num_a, num_b, num_c; printf("Enter three integer(larger than zero):"); scanf("%f%f%f", &num_a, &num_b, &num_c); if(num_a + num_b <= num_c || num_a + num_c <= num_b || num_b + num_c <= num_a) printf("can't!"); else printf("can!"); system("pause"); return 0; } when I enter 2.3 2.4 and 4.7 ,the program print "can!", puzzle me.... who can tell me why.... from:陈婷婷
©网易公司版权所有 [Non-text portions of this message have been removed]