Answer:
OR
Step-by-step explanation:
The logical function is used to combine one or more logical condition their are many types of logical condition that are given below
- Logical OR
- Logical And
- Logical Not
The Logical OR Function returns true when any of the condition is true and it returns false when both the condition are false
Following are the example in C programming language
In the programming language it is represented by ||
a=90;
b=98;
c=187;
int t=(c< b || b>a)
it returns true because one condition is true i.e b>a .
The truth table of OR logical function is given below
A B Result
True True True
True False False
False TRUE TRUE
FALSE FALSE FALSE