IF THEN ELSE BOOLEAN LOGIC


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. TO express:
  2.  
  3. IF A THEN B ELSE C
  4.  
  5.  
  6. you would WRITE it AS:
  7.  
  8. ((NOT A) OR B) AND (A OR C)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.