When comparing two numbers in Boolean, complete this code:

a = 12

b = 8

(1 point)
Responses

a == b is true

a = b is false

a = b is true

a == b is false

1 answer

To compare the two numbers a and b in Boolean, you can evaluate the expression a == b.

Given:

a = 12
b = 8

Now, let's evaluate the expression:

  • a == b would be 12 == 8, which is false.

Thus, the correct response to complete the code is:

a == b is false