08.07.2016, 18:26
Or if you really want to use if-else, and also want to compare strings or multiple variables then don't move to switch.
It should be something like this -
It should be something like this -
Код:
if(YourVariable != 1 && YourVariable != 1) // goes on.