Comparison with the Greater Than Operator
Summary
- The greater than operator (
>
) compares the values of two numbers for the larger number. - If the number to the left is greater than the number to the right, it returns
true
. Otherwise, it returns false
.
Final Code