Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Greater than or equal to operator: Difference between revisions

From Coderwiki
new
 
(No difference)

Latest revision as of 10:32, 9 August 2025

One common comparison operator is the greater than or equal to operator.

This operator will return true if the value on the left is more than or the same as the value on the right of the operator.

In most languages, the less than or equal to operator is represented by a >= symbol.

boolean a = 4 >= 6; // false
boolean b = 7 >= 7; // true
boolean c = 6 >= 5; // true