Forum Discussion
akhaliq7
Post Prodigy
4 years agoif statements in the same level
I have two if statements instead of being nested i need them to be in the same level.
e.g.
if (expression)
if(expression),
0,
if(expression),
1,
0
if(expression),
1,
0
akhaliq7 , the same level means you use OR || or and && in same if otherwise one will get a higher preference
1 Reply
- amitchandak
Super User
akhaliq7 , the same level means you use OR || or and && in same if otherwise one will get a higher preference