This demo uses a comparison operator to assign either true or false to a variable and then displays the result.
Output: