Give Description of AND.

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter13: Decision Making Under Uncertainty
Section13.6: Decision Making With Multiple Objectives
Problem 3P
icon
Related questions
Question

Give Description of AND.

Expert Solution
Step 1

AND operator

           --> "Logical AND is an operator"

           --> It is used to combine two or more conditions and we can evaluate the condition accordingly.

           --> The result of AND operator is always boolean that is either "TRUE" or "FALSE".                         

            --> We can represent AND operator as  " && " .     

            --> The precedence of AND operator is from LEFT to RIGHT.

 

THE TRUTH TABLE FOR '&' OPERATOR IS AS FOLLOWS:-

 

                 P                     Q

                      P && Q                       

                 0                     0                          0
                 0                     1                          0
                 1                     0                          0
                 1                     1                          1

 

                                                                            

steps

Step by step

Solved in 2 steps

Blurred answer