+ 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 Odpowiedź
+ 3
Thank you Kit Delano Cat .
10th Nov 2019, 10:50 AM
Mark 🇺🇬 [INACTIVE]
Mark 🇺🇬 [INACTIVE] - avatar