Question #152423

Write an if statement which is equivalent to "if(!(x==0 || x==100))" but does not use the "||" operator.

Expert's answer

if (x!=0){
  if (x!=100){ 
    //Code goes here
  }
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS