+ 5

How does if evaluate this expression

#include <stdio.h> int main(){ float a = 0.7; if(a>0.7) printf("Hi"); else printf("Hello"); //output : Hello ========================= if(0.7>a) printf("Hi"); else printf("Hello"); //output : Hi return 0; } https://code.sololearn.com/c2aj3W53I4u1/?ref=app

5th Nov 2019, 8:20 AM
Mark đŸ‡ș🇬 [INACTIVE]
Mark đŸ‡ș🇬 [INACTIVE] - avatar
1 Answer
+ 3
Thank you Kit Delano Cat .
10th Nov 2019, 10:50 AM
Mark đŸ‡ș🇬 [INACTIVE]
Mark đŸ‡ș🇬 [INACTIVE] - avatar