Description
Description | Operator | Description | Example |
|---|---|---|
| + | Performs addition of two numbers. | A+B, Example 10+5=15. |
| - | Performs subtraction of two numbers. | A-B, Example 10-5=5. |
| * | Performs multiplication of two numbers. | A*B,Example 10*5=50. |
| / | Performs division of two numbers. | A/B, Example 10/5=2. |
Description | Operator | Description | Example |
|---|---|---|
| = | Analyse whether the two values are True or False, if true, then the case will be true. | A=B. |
| < | Analyse whether the left value is less than the right value, if true, then the case becomes true. | A<B |
| > | Analyse whether the left value is greater than the right value, if true, then the case will be true. | A>B |
| <= | Analyse whether the left value is less than or equal to the right value, if yes, then the case becomes true. | A<=B |
| >= | Analyse whether the left value is greater than or equal to the right value, if true, then the case becomes true. | A>=B |
Description | Operator | Description |
|---|---|
| AND | It is called as logical AND operator. If two values are true, then the case becomes true. |
| OR | It is called as logical OR operator, suppose any one value is true, then the case become true. |
| NOT | It is called as logical NOT operator, if a case is true, then the logical NOT operator will make it false. |
Description
Description | p | q | p&q | p|q |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 |
| 1 | 0 | 0 | 1 |
Key Points