171k views
4 votes
Which of the following is not a relational operator?

>=

<=

=

!=

User Nuqqsa
by
5.3k points

1 Answer

5 votes

Answer:

=

Step-by-step explanation:

Relational operators for comparison include:

< : Less than

> : Greater than

<= : Less than or equal to

>= : Greater than or equal to

== : Equal to

!= : Not equal to

Examples :

5 > 1

3 >= 3

1 < 6

2 == 2

Out of the options provided, >=,<= and != are relational operators.

However = is not a relational operator. Instead it is an assignment operator for assigning a value to an entity.

For example : x = 2

User Stephen Morrell
by
5.2k points