Computer Science, asked by rbha2004, 5 months ago

symbol used to represent any logic and comparisons operations.​

Answers

Answered by Jaswindar9199
0

The symbol used to represent any logic and comparison operations is logical-or-expression || logical-and-expression.

  • The logical OR operator (||) returns the boolean value which is true only when either or both operands are true and it returns false if not.
  • The operands are implicitly restored to type bool before trial, and the outcome is of type bool. Logical OR has left-to-right associative.
  • The operands to the logical OR operator do not have to possess the exact type, but they must be of boolean, crucial, or information type.
  • The operands are generally relational or equivalence expressions.
  • The first operand is entirely assessed and all side impacts are attained before proceeding with the trial of the logical OR expression.

#SPJ1

Answered by Rameshjangid
0

Answer:- There are many different symbols for different operations. To know about all please read the full answer.

Comparison operators —Comparison Operators are the operators that compare the given values and return them as true or false. The operators include: >, <, >=, <=, ===, and !==.

Logical operators — operators that combine multiple Boolean expressions or values and provide a single Boolean output. The operators include: &&, ||, and !.

Comparison Operators:-

Less than (<) — returns true if the value on the left is less than the value on the right, otherwise it returns false.

Greater than (>) — returns true if the value on the left is greater than the value on the right, otherwise it returns false.

Less than or equal to (<=) — returns true if the value on the left is less than or equal to the value on the right, otherwise it returns false.

Greater than or equal to (>=) — returns true if the value on the left is greater than or equal to the value on the right, otherwise it returns false.

Equal to (===) — returns true if the value on the left is equal to the value on the right.

Not equal to (!==) — returns true if the value on the left is not equal to the value on the right.

Logical Operators:-

Comparison operators allow us to assert the equality of a statement with JavaScript. For example, we can assert whether two values or expressions are equal with ===, or, whether one value is greater than another with >.

var is True = ('yellow' === 'green') && (4 >= 4);

To know more about the given topic please go through the following

Link1:- https://brainly.in/question/2427275?

Link2:- https://brainly.in/question/9198938?

#SPJ1

Similar questions