To compare the two numbers a
and b
using Boolean logic, you can evaluate the expression a == b
.
Given that:
a = 12
b = 8
The comparison a == b
checks if the values of a
and b
are equal. Since 12
is not equal to 8
, the statement a == b
evaluates to false
.
So the correct response is:
a == b is false