Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int num1 = 1;
- if (num1 != 1 || num1 == 0)
- {
- printf("The answer is false\n");}
- else if (num1 != 1 || num1 && 0){
- printf("The answer is false\n");}
- else if (num1 != 1 && num1 == 0 || 0){
- printf ("The answer is true\n");}
- getchar();
- return 0;
- }
Add Comment
Please, Sign In to add comment