title: Why is the answer false and not true?
body: <p>This is more of a logic problem, there's no code to be written but even after multiple tries on this problem, I keep getting that the answer is true.</p>
  
  <p>So here's the problem:</p>
  
  <pre><code>int cat = 5, dog = 6, cow = 2, lizard = 10
  </code></pre>
  
  <p>And I want to find the answer for this expression:
  <code>!(!cow + !cat + !dog + !lizard)</code></p>
  
  <p>Here's my attempt at the solution:</p>
  
  <p>I thought that by saying !cow, we are saying !5. Then, I was thinking that !5 meant that it would not be true because it's ! of an integer value, thus making !cow=0. Then I did the same for everything else inside the parentheses. Giving me: !(0) and by applying the ! operator, I get true. (Since 0 typically means that it's false right?)</p>
  
  <p>Help is appreciated! Thanks!</p>