Important Notice:

Course Content
Building IoT Applications (Chapter-4) M4-R5.1
About Lesson

Example:

#include <stdio.h>

#include <conio.h>

void main()

{

int a = 5, b = 5, c = 10;

printf(“%d == %d = %d n”, a, b, a == b); // true

printf(“%d == %d = %d n”, a, c, a == c); // false

printf(“%d > %d = %d n”, a, b, a > b); //false

printf(“%d > %d = %d n”, a, c, a > c); //false

printf(“%d < %d = %d n”, a, b, a < b); //false

printf(“%d < %d = %d n”, a, c, a < c); //true

printf(“%d != %d = %d n”, a, b, a != b); //false

printf(“%d != %d = %d n”, a, c, a != c); //true

printf(“%d >= %d = %d n”, a, b, a >= b); //true

printf(“%d >= %d = %d n”, a, c, a >= c); //false

printf(“%d <= %d = %d n”, a, b, a <= b); //true

printf(“%d <= %d = %d n”, a, c, a <= c); //true

}

error: Content is protected !!