— Greater Than or Equal To

Greater than or equal to [>=] is a type of inequality that is a logical combination of greater than [>] and equals [==].

The two are combined with the Or operation.

Take a look at this example.

5 >= 3

This is equivalent to (5 > 3) || ( 5 == 3).

The left part is true so the OR statement is true (review the truth table on the OR page if this is confusing).

So 5 >= 3 is true.

3 >= 3

Which is the same as

(3 > 3)||(3 == 3)

The right side is true, so the OR statement is true.

So 3 >= 3 is true.

3 >= 5

Same as

(3 > 5) || (3 == 5)

The left side is false and the right side is false, so the OR statement is false.

So 3 >= 5 is false.

NEXT: Less Than or Equal To

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s