+ 2

What is !(x!=y) ???

19th Sep 2018, 7:57 AM
Siddharth
Siddharth - avatar
2 odpowiedzi
+ 4
!(x!=y) first x!=y means true if x and y are not equal then !() means true if everything inside outputs false so it is some kind of double negotiation where it will be true if x and y are the same
19th Sep 2018, 8:04 AM
Roel
Roel - avatar
+ 1
it can be written as (x==y)
19th Sep 2018, 1:13 PM
Manus
Manus - avatar