How to write a condition in which the 3 variables are not equal to each other?
There are 3 variables hero , smoke and recycle . I need them to be all not equal to each other, i.e. contained different meanings. How to describe it in the condition?
Here such code does not work:
smoke != hero && smoke != recycle && recycle != hero