Answer to Question #152423 in C++ for Usama Saleem

Question #152423
Write an if statement which is equivalent to "if(!(x==0 || x==100))" but does not use the "||" operator.
1
Expert's answer
2020-12-21T16:08:28-0500
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog