Challenge for Logical Operators (and Booleans)


You will be given two integer inputs, a and b. Simulate a NAND gate by returning a boolean false only if both inputs are equal to 1, and returning true in all other cases.

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]