title: What is equivalent to "!((x > y) && (y <= 0))"
body: <p>What is the equivalent to the condition:</p>
  
  <pre><code>!((x &gt; y) &amp;&amp; (y &lt;= 0))
  </code></pre>
  
  <p>Is it:</p>
  
  <pre><code>!(x &gt; y) &amp;&amp; !(y &lt;= 0)
  
  (x &lt;= y) || (y &gt; 0) 
  
  (x &lt; y) || (y &gt; 0) 
  </code></pre>
  
  <p>After initializing the variables to make them into y = -3 and x = -3 I was able to isolate only the second one to display the same results as the first. Does this mean that this is the only one equivalent to it?</p>
  
  <p>How exactly do you use truth tables or the "De Morgan's Law"?</p>