Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<conio.h>
- int main()
- {
- int a = 5, b = 6, c = 7;
- printf("int a = 5, b = 6, c = 7;\n");
- printf("The value of a > b is:\t %i \n\n",a > b);
- printf("The value of b < c is:\t %i \n\n",b < c);
- printf("The value of a + b >= c is:\t %i \n\n",a + b >= c);
- printf("The value of a - b <= b is:\t %i \n\n",a - b <= b);
- printf("The value of b - a = b - c is:\t %i \n\n",b - a == b - c);
- printf("The value of a * b != c * c is:\t %i \n\n",a * b != c * c);
- printf("Result of a > 10 && b < 5 = %d \n\n",a > 10 && b < 5);
- printf("Result of a > 100 || b < 50 = %d \n\n",a > 100 || b < 50);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment