Skip to content
C

Compare Two Numbers Six Ways

Easyjava

Read two integers and print the result of all six relational operators.

Input: two integers separated by whitespace.

Output: six lines:

== <bool>
!= <bool>
> <bool>
< <bool>
>= <bool>
<= <bool>

Input (stdin)

Output

Run your code to see output here...