Logical operators are used when we want to check the truth value of certain statements. Logical operators help us in checking multiple statements together for their truthness.
Here we will learn logical operators like AND(&&), OR(||), NOT(!). These operators produce either a true or a false as an output.
First line of input conatins number of testcases T. For each testcase, there will be one line of input containing a and b separated by a space.
For each testcase, print the required output.
Your task is to complete the provided function.
1 <= T <= 10
1 <= a, b,<= 100
1 1 0
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.