When should a double equal sign (==) be used?

(1 point)
• to set the value of a decimal variable
• to set the value of a float variable
• to check whether two pieces of data are actually equal
• to indicate greater than or less than

1 answer

The double equal sign (==) should be used to check whether two pieces of data are actually equal.