title: How to write shorter this "or" statement and is it right?
body: <pre><code>fail = 0;   
  
  if (masivs[0][0]&gt;0 | masivs[0][1]&gt;0 | masivs[0][2]&gt;0| masivs[0][3]&gt;0 |masivs[0][4]&gt;0| masivs[0][5]&gt;0|masivs[0][6]&gt;0| masivs[0][7]&gt;0|masivs[0][8]&gt;0|masivs[0][9]&gt;0)
  {
      fail = 1;
  }   
  else {
      fail = 0;
  }
  </code></pre>
  
  <p>I need to check if in the 0 row is some positive element if yes then need to change fail to 1.</p>