Limited access

Upgrade to access all content for this subject

Which logical expression evaluates to false if either x or y is equal to 5?

A

if (x == 5) || (y == 5)

B

if (x != 5) && (y != 5)

C

if (x != 5) || (y != 5)

D

if (x = 5) && (y = 5)

E

if (x != 5) && (y = 5)

Select an assignment template