plzzz solve this it's urgent
don't spam nhi too report
Attachments:
Answers
Answered by
2
Answer:-
Given, x=10, y=20
- b=(x==10) is true because the statement x is equal to 10 is true.
- b=(x!=10) is false because the statement x not equals 10 is false.
- b=(x==10 and y==20) is true because both the statements are correct.
- b=(x!=10 and y==20) is false because the first condition is false i.e., x!=10 is false.
- b=(x==10 and y!=20) is false because x==10 is true but y!=20 is false. Hence, the ultimate result is false.
- b=(x!=10 andy!=20) is false because both the conditions are false.
- b=(x==10 or y==20) is true because either of the conditions is true.
- b=(x!=10 or y==20) is true because one of the conditions is true although the other condition is false.
- b=(x==10 or y!=20) is true because the first condition is true although the second condition is false.
- b=(x!=10 or y!=20) is false because both the conditions are false.
Similar questions