Computer Science, asked by Anonymous, 1 year ago

Differentiation b/w Rational and logical operator...
No spam​

Answers

Answered by DevilCrush
10

Answer:

1 The relational operators are binary operators -- they work between two values

2 The relational operators and their meanings:

3  Equal to

4 Less than

5 Greater than

6 Relational operators compare two values and produce a Boolean result. Most of the time we use logical operators to combine the results of two or more comparison expressions that use relational operators.

7 A relational operator tests data values against one another

8 Logical operators don't Compare values they combine Boolean values and produce a Boolean result. Examples of logical operators are && (and), , (or), ! (not). If you have two Boolean values and you combined them with the && operator the result will be (TRUE) only if both values were (TRUE).

Answered by Anonymous
0

Find the difference between logical and relational operator.The difference between logical and relational operator is that relational operator can have any operand value and return boolean while logical always have boolean............... Relational operators are used to comparqe the values of two expressions. Key Differences Between Rational and Irrational Numbers

In rational numbers, both numerator and denominator are whole numbers, where the denominator is not equal to zero. While an irrational number cannot be written in a fraction. The rational number includes numbers that are perfect squares like 9, 16, 25 and so on.

Similar questions