Assume x = 1. What is the truth value of the boolean: (x != 1) == !(x == 1) | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antworten
+ 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