Hi,

Yes it is wrong. You can use this for not equal !=. you can also use if..else statement. For more details study Relational operators .

Thanks,:o