Assume x = 1. What is the truth value of the boolean: (x != 1) == !(x == 1) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Assume x = 1. What is the truth value of the boolean: (x != 1) == !(x == 1)

Logical operators

26th Jun 2017, 11:27 PM
Blaq Ice
Blaq Ice - avatar
2 Answers
+ 6
answer is true
26th Jun 2017, 11:29 PM
Hetbo.net
Hetbo.net - avatar
+ 1
false==false ---> true
26th Jun 2017, 11:31 PM
BenjiSolo
BenjiSolo - avatar