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
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 |
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole