+ 12

Can you look very good?

I want to know if this is a valid condition ... but most of you may suggest it's so much stupid to write such a condition as it looks from the first look ...mmm if (x<n || n<x ) one of x or n is bigger than the other ... if x was bigger or n was bigger the statement will be ran ...mmm even I don't see it so much true hhhh but what do you think , my friends !?

23rd Apr 2017, 6:51 PM
Saja Husam
Saja Husam - avatar
2 Antworten
+ 34
valid but use "if(x!=n){...}" instead
23rd Apr 2017, 6:53 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 11
okay that's good enough ... thx!
23rd Apr 2017, 7:03 PM
Saja Husam
Saja Husam - avatar